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