File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
21name : Deploy Pages
32
4- # Controls when the action will run.
53on :
6-
7- # Trigger the deployment manually
84 workflow_dispatch :
9-
10- # Trigger the deployment on push to the main branch
5+
116 push :
12-
13- # Only the main branch
147 branches :
158 - " main"
16-
17- # Only when the docs directory or mkdocs.yml file changes
189 paths :
1910 - " docs/**"
2011 - mkdocs.yml
2112
22- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2313permissions :
2414 contents : read
2515 pages : write
2616 id-token : write
2717
28- # Allow one concurrent deployment
29- concurrency :
30- group : " pages"
31- cancel-in-progress : true
32-
33- # Define the jobs that run in the workflow
3418jobs :
35-
36- # The build job
3719 build :
3820 runs-on : ubuntu-latest
3921 steps :
You can’t perform that action at this time.
0 commit comments