diff --git a/.github/workflows/views.yml b/.github/workflows/views.yml deleted file mode 100644 index 5f8b245..0000000 --- a/.github/workflows/views.yml +++ /dev/null @@ -1,34 +0,0 @@ -# This workflow initializes a Python environment and executes -# the specified .py file/s at a scheduled time of 12:25am -# each day. In this case the views.py file located in the -# main branch of this repository. - -name: GitHub Metrics - -on: -# push: -# branches: -# - main - - schedule: - - cron: '25 0 * * *' # Runs at 12:25am UTC every day - -jobs: - extract-views: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - - name: Install dependencies - run: pip install -r requirements.txt # Contains any dependencies that are not part of the Python standard library - - name: Run Python script to extract views - env: - TOKEN: ${{ secrets.DATA_TOKEN }} - run: python views.py # Extract GitHub views and append to CSV