Update Code of Conduct (#14) #149
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Deploy | |
| on: | |
| push: | |
| branches: | |
| - main | |
| # Scheduled tasks only run on the main branch. | |
| schedule: | |
| - cron: '0 10 * * *' # Daily at 10AM UTC. | |
| workflow_dispatch: | |
| # Cancel active CI runs for a PR before starting another run | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| defaults: | |
| run: | |
| shell: bash # https://github.com/beeware/briefcase/pull/912 | |
| env: | |
| FORCE_COLOR: "1" | |
| jobs: | |
| deploy: | |
| permissions: | |
| contents: write | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Clone code | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.x' | |
| - name: Install build dependencies | |
| run: | | |
| python -m pip install -r requirements.txt | |
| - name: Fetch latest packages data and build the website | |
| run: | | |
| make generate | |
| - name: Collect the built files | |
| run: | | |
| mkdir build/ | |
| cp index.html build/ | |
| cp wheel.css build/ | |
| cp *.svg build/ | |
| cp results.json build/ | |
| - name: Deploy the built files | |
| uses: JamesIves/github-pages-deploy-action@v4 | |
| with: | |
| folder: build # The folder the action should deploy. | |
| git-config-name: github-actions[bot] | |
| git-config-email: 41898282+github-actions[bot]@users.noreply.github.com |