File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11name : Deploy Bundle Preview
22
33on :
4+ push :
5+ branches :
6+ - ' main'
47 pull_request :
58 branches :
69 - ' *'
3033 shell : bash
3134 run : |
3235 # transform branch names in form of `refs/heads/main` to `main`
33- draft_branch=$(basename ${{ github.event.pull_request.head.ref }})
36+ draft_branch=$(basename ${{ github.event.pull_request.head.ref || github.event.ref }})
3437 echo "draft_branch=$draft_branch" >> $GITHUB_OUTPUT
3538 id : extract_branch
3639
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ ifdef::env-github[]
1818endif::[]
1919// Project URLs:
2020:url-project: https://github.com/riptano/docs-ui
21- :url-preview: https://riptano.github.io/datastax- docs-site /main
21+ :url-preview: https://riptano.github.io/docs-ui /main
2222// :url-ci-pipelines: {url-project} /pipelines
2323// :img-ci-status: {url-project} /badges/master/pipeline.svg
2424:url-docs-home: https://github.com/riptano/docs-home
You can’t perform that action at this time.
0 commit comments