From 152defa7a7aee653428ecddaf65a26df812ec095 Mon Sep 17 00:00:00 2001 From: Aron Atkins Date: Mon, 20 May 2024 16:32:56 -0400 Subject: [PATCH] lingering master prevented S3 pushes of new builds --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 598a7263..1aefe238 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 @@ -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: