Skip to content

Commit

Permalink
lingering master (#593)
Browse files Browse the repository at this point in the history
prevented S3 pushes of new builds
  • Loading branch information
aronatkins authored May 20, 2024
1 parent 353f8ba commit cee1c85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: make sync-latest-to-s3
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: make sync-to-s3
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
with:
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
aws-region: ${{ secrets.AWS_REGION }}
- if: github.event_name == 'push' && github.ref == 'refs/heads/master'
- if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: make sync-latest-docs-to-s3
- if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: aws-actions/configure-aws-credentials@v1
Expand All @@ -158,7 +158,7 @@ jobs:
run: make promote-docs-in-s3

dispatch:
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: distributions
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit cee1c85

Please sign in to comment.