File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1- # Simple workflow for deploying static content to GitHub Pages
1+ # Workflow to invoke from another workflow to deploy static content to GitHub Pages
22name : Deploy static content to Pages
33
44on :
5- # Runs on pushes targeting the default branch
6- push :
7- branches : ["gh-pages"]
8-
9- # Enable it to be invoked from other workflows
105 workflow_call :
116
127# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
@@ -22,7 +17,6 @@ concurrency:
2217 cancel-in-progress : false
2318
2419jobs :
25- # Single deploy job since we're just deploying
2620 deploy :
2721 environment :
2822 name : github-pages
3125 steps :
3226 - name : Checkout
3327 uses : actions/checkout@v4
28+ with :
29+ ref : gh-pages
3430 - name : Setup Pages
3531 uses : actions/configure-pages@v5
3632 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments