File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change 1
- # Simple workflow for deploying static content to GitHub Pages
2
- name : Deploy static content to Pages
1
+ name : Deploy to GitHub Pages
3
2
4
3
on :
5
- # Runs on pushes targeting the default branch
6
4
push :
7
5
branches : ["master"]
8
-
9
- # Allows you to run this workflow manually from the Actions tab
10
6
workflow_dispatch :
11
7
12
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13
8
permissions :
14
9
contents : read
15
10
pages : write
16
11
id-token : write
17
12
18
- # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19
- # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20
- concurrency :
21
- group : " pages"
22
- cancel-in-progress : false
23
-
24
13
jobs :
25
- # Single deploy job since we're just deploying
26
14
deploy :
27
15
environment :
28
16
name : github-pages
29
17
url : ${{ steps.deployment.outputs.page_url }}
30
18
runs-on : ubuntu-latest
31
19
steps :
32
- - name : Verify GITHUB_TOKEN
33
- run : |
34
- echo "Testing GITHUB_TOKEN permissions"
35
- curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
36
- https://api.github.com/repos/${{ github.repository }}/pages
37
20
- name : Checkout
38
21
uses : actions/checkout@v4
22
+ - name : Debug docs folder
23
+ run : ls -la docs
39
24
- name : Setup Pages
40
25
uses : actions/configure-pages@v4
41
26
- name : Upload artifact
44
29
path : ' docs'
45
30
- name : Deploy to GitHub Pages
46
31
id : deployment
47
- uses : actions/deploy-pages@v3
32
+ uses : actions/deploy-pages@v3
You can’t perform that action at this time.
0 commit comments