Skip to content

Commit

Permalink
Fixed final deploy stage after moving from master to main.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasfertig committed Oct 5, 2021
1 parent 8e153c2 commit bd5ee56
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ jobs:
#------------------------------------------------------------------------------
deploy:
needs: [build, docker]
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
name: Final Deploy
runs-on: ubuntu-latest

Expand Down Expand Up @@ -706,7 +706,7 @@ jobs:
/usr/bin/git add --all .
echo "Committing"
/usr/bin/git commit -m "Deploying to master from master @ ${GITHUB_SHA}" --quiet --no-verify
/usr/bin/git commit -m "Deploying to main from main @ ${GITHUB_SHA}" --quiet --no-verify
echo "Pushing"
/usr/bin/git push --force
Expand Down

0 comments on commit bd5ee56

Please sign in to comment.