File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy Leaderboard
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ paths :
8+ - " leaderboard/**"
9+ - " .github/workflows/deploy-leaderboard.yml"
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : pages
19+ cancel-in-progress : true
20+
21+ jobs :
22+ deploy :
23+ environment :
24+ name : github-pages
25+ url : ${{ steps.deployment.outputs.page_url }}
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout
29+ uses : actions/checkout@v4
30+
31+ - name : Setup Pages
32+ uses : actions/configure-pages@v5
33+
34+ - name : Upload artifact
35+ uses : actions/upload-pages-artifact@v3
36+ with :
37+ path : leaderboard
38+
39+ - name : Deploy to GitHub Pages
40+ id : deployment
41+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments