BlueGit

ict rusty-teams

Files

rusty-teams / .github / workflows / pages.yml

pages.yml

pages.yml 766 B Download Raw
1# Deploys the static landing page in site/ to GitHub Pages.
2# One-time setup: Settings > Pages > Build and deployment > Source: GitHub Actions.
3name: Pages
4
5on:
6 push:
7 branches: [main]
8 paths:
9 - "site/**"
10 - ".github/workflows/pages.yml"
11 workflow_dispatch:
12
13permissions:
14 contents: read
15 pages: write
16 id-token: write
17
18concurrency:
19 group: pages
20 cancel-in-progress: false
21
22jobs:
23 deploy:
24 runs-on: ubuntu-latest
25 environment:
26 name: github-pages
27 url: ${{ steps.deployment.outputs.page_url }}
28 steps:
29 - uses: actions/checkout@v4
30 - uses: actions/configure-pages@v5
31 - uses: actions/upload-pages-artifact@v3
32 with:
33 path: site
34 - id: deployment
35 uses: actions/deploy-pages@v4