File tree Expand file tree Collapse file tree 5 files changed +81
-0
lines changed Expand file tree Collapse file tree 5 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Pull Request CI
3+
4+ on :
5+ pull_request :
6+ push :
7+ branches : ["main"]
8+ workflow_dispatch :
9+
10+ jobs :
11+ zizmor :
12+ name : Check actions security
13+ runs-on : ubuntu-latest
14+ permissions :
15+ contents : read # only needed for private repos
16+ actions : read # only needed for private repos
17+ steps :
18+ - name : Checkout repository
19+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+ with :
21+ persist-credentials : false
22+
23+ - name : Run zizmor 🌈
24+ uses : zizmorcore/zizmor-action@f52a838cfabf134edcbaa7c8b3677dde20045018 # v0.1.1
25+ with :
26+ advanced-security : false
Original file line number Diff line number Diff line change 1+ name : Deploy to GitHub Pages
2+
3+ on :
4+ push :
5+ branches : [master, main]
6+ pull_request :
7+ branches : [master, main]
8+
9+ # Allows you to run this workflow manually from the Actions tab
10+ workflow_dispatch :
11+
12+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+ permissions :
14+ contents : read
15+
16+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
17+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
18+ concurrency :
19+ group : " pages"
20+ cancel-in-progress : false
21+
22+ jobs :
23+ # Build job
24+ build :
25+ runs-on : ubuntu-latest
26+ steps :
27+ - name : Checkout
28+ uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
29+ with :
30+ persist-credentials : false
31+ - name : Setup Pages
32+ uses : actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0
33+
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
36+ with :
37+ path : ./docs
38+
39+ # Deployment job
40+ deploy :
41+ permissions :
42+ contents : read
43+ pages : write
44+ id-token : write
45+ environment :
46+ name : github-pages
47+ url : ${{ steps.deployment.outputs.page_url }}
48+ runs-on : ubuntu-latest
49+ needs : build
50+ # Only deploy on pushes to master or main branch
51+ if : (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main') && github.event_name == 'push'
52+ steps :
53+ - name : Deploy to GitHub Pages
54+ id : deployment
55+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments