File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 3
3
on :
4
4
workflow_dispatch :
5
5
push :
6
+ branches : ["main", "dev-*"]
6
7
pull_request :
7
8
release :
8
9
types : [published]
@@ -113,7 +114,7 @@ jobs:
113
114
npm install -g netlify-cli
114
115
# push main branch to production, others to preview --
115
116
if [ "${ALIAS}" == "main" ]; then
116
- netlify deploy --dir=docs/_build --prod
117
+ netlify deploy --dir=docs/_build --alias="main"
117
118
else
118
119
netlify deploy --dir=docs/_build --alias="${ALIAS}"
119
120
fi
@@ -132,3 +133,7 @@ jobs:
132
133
deployment_id : ${{ steps.deployment.outputs.deployment_id }}
133
134
env_url : ' https://${{ steps.deployment.outputs.env }}--quartodoc.netlify.app'
134
135
logs : ' https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
136
+ - uses : peaceiris/actions-gh-pages@v3
137
+ with :
138
+ github_token : ${{ secrets.GITHUB_TOKEN }}
139
+ publish_dir : docs/_build
You can’t perform that action at this time.
0 commit comments