File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ Testing
Original file line number Diff line number Diff line change
1
+ name : Deploy to Pages
2
+
3
+ on :
4
+ # Runs on pushes targeting the default branch (or runs manually).
5
+ push :
6
+ branches : [$default-branch]
7
+ workflow_dispatch :
8
+
9
+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
10
+ permissions :
11
+ contents : read
12
+ pages : write
13
+ id-token : write
14
+
15
+ # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
16
+ # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
17
+ concurrency :
18
+ group : " pages"
19
+ cancel-in-progress : false
20
+
21
+ jobs :
22
+ # Single deploy job since we're just deploying
23
+ deploy :
24
+ environment :
25
+ name : github-pages
26
+ url : ${{ steps.deployment.outputs.page_url }}
27
+ runs-on : ubuntu-24.04
28
+ steps :
29
+ - name : Checkout
30
+ uses : actions/checkout@v4
31
+ - name : Setup Pages
32
+ uses : actions/configure-pages@v5
33
+ - name : Upload artifact
34
+ uses : actions/upload-pages-artifact@v3
35
+ with :
36
+ path : ' ./.github/pages'
37
+ - name : Deploy to GitHub Pages
38
+ id : deployment
39
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments