Skip to content

Commit

Permalink
[WIP] Trigger S3 upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewlacy committed Jan 1, 2024
1 parent b729f11 commit 9e010bb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
path: artifacts/brioche
push:
name: Push artifacts
if: github.ref_name == 'main' && github.repository == 'brioche-dev/brioche'
if: github.repository == 'brioche-dev/brioche'
needs: [test, build]
runs-on: ubuntu-22.04
steps:
Expand All @@ -107,12 +107,6 @@ jobs:
# Upload all artifacts under the branch name, and upload a subset under the commit hash.
- name: Upload to S3
run: |
aws s3 sync \
--endpoint "$S3_ENDPOINT" \
--delete \
artifacts/brioche/ \
"s3://brioche-dev-development-content/github.com/brioche-dev/brioche/branches/$GITHUB_REF_NAME/"
rm artifacts/brioche/*/brioche
aws s3 cp \
--endpoint "$S3_ENDPOINT" \
Expand Down

0 comments on commit 9e010bb

Please sign in to comment.