Skip to content

Commit

Permalink
STARCH-610 automate creation of github_pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfyffeiu committed Nov 30, 2023
1 parent e50ebb0 commit 5a4baec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ephemeral-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ jobs:
run: |
git config --global --add safe.directory $PWD
git fetch origin github_pages
git checkout github_pages
git checkout github_pages || {
git checkout -b github_pages
git push --set-upstream origin/github_pages
}
git pull
rm -rf docs/$GITHUB_REF_NAME
mkdir -p docs/$GITHUB_REF_NAME
Expand Down

0 comments on commit 5a4baec

Please sign in to comment.