Skip to content

Commit

Permalink
Removed conditional main checks
Browse files Browse the repository at this point in the history
Signed-off-by: James Humphries <[email protected]>
  • Loading branch information
Yantrio committed Feb 16, 2024
1 parent 12b86fc commit c863641
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,21 +65,18 @@ jobs:

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
if: github.ref == 'refs/heads/main'
with:
aws-region: ${{ secrets.AWS_REGION }}
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 900

- name: Upload the provider binary to downloads.spacelift.io
if: github.ref == 'refs/heads/main'
run: >-
aws s3 sync
upload/ s3://${{ secrets.AWS_S3_BUCKET }}/
--no-progress
- name: Invalidate downloads.spacelift.io cache
if: github.ref == 'refs/heads/main'
run: >-
aws cloudfront create-invalidation
--distribution-id ${{ secrets.DISTRIBUTION }}
Expand Down

0 comments on commit c863641

Please sign in to comment.