Skip to content

Commit

Permalink
workflows extra branch protection
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten committed Aug 9, 2022
1 parent 21a210e commit f61e8d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Binaries Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
run: |
cd bin
echo "* @ZacharyPatten" > CODEOWNERS
git init
git init --initial-branch=binaries
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -m 'deploy to binaries branch'
git push --force "https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" master:binaries
git push --force "https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" binaries:binaries
4 changes: 2 additions & 2 deletions .github/workflows/Website Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
run: |
cd Projects/Website/bin/Release/publish/wwwroot
echo "* @ZacharyPatten" > CODEOWNERS
git init
git init --initial-branch=github-pages
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
git add .
git commit -m 'deploy to github-pages branch'
git push --force "https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" master:github-pages
git push --force "https://${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git" github-pages:github-pages

0 comments on commit f61e8d7

Please sign in to comment.