34 lines
651 B
YAML
34 lines
651 B
YAML
name: Progress
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: pages
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
progress:
|
|
runs-on: ubuntu-latest
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
with:
|
|
fetch-depth: 0
|
|
- run: python3 tools/progress.py out
|
|
- run: python3 tools/progress_history.py out
|
|
- uses: actions/upload-pages-artifact@v5
|
|
with:
|
|
path: out
|
|
- id: deployment
|
|
uses: actions/deploy-pages@v5
|