File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 22name : Deploy Jekyll with GitHub Pages dependencies preinstalled
33
44on :
5- # Runs on pushes targeting the default branch
65 push :
76 branches : ["master"]
8-
9- # Allows you to run this workflow manually from the Actions tab
7+ pull_request :
8+ branches : ["master"]
109 workflow_dispatch :
1110
12- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1311permissions :
1412 contents : read
1513 pages : write
1614 id-token : write
1715
18- # Allow one concurrent deployment
1916concurrency :
2017 group : " pages"
2118 cancel-in-progress : true
7067 - name : Upload artifact
7168 uses : actions/upload-pages-artifact@v3
7269
73- # Deployment job
7470 deploy :
71+ if : github.event_name == 'push' && github.ref == 'refs/heads/master'
7572 environment :
7673 name : github-pages
7774 url : ${{ steps.deployment.outputs.page_url }}
You can’t perform that action at this time.
0 commit comments