Skip to content

Commit

Permalink
Remove AWS_BUCKET env
Browse files Browse the repository at this point in the history
  • Loading branch information
k-burt-uch authored Jun 12, 2024
1 parent eb68696 commit ee56a52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/hugo_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on: push

env:
BASE_URL: ${{ (github.ref == 'refs/heads/master' && 'gen3.org') || 'alpha.gen3.org' }}
AWS_BUCKET: ${{ env.BASE_URL }}

jobs:
build-and-deploy:
Expand Down Expand Up @@ -35,7 +34,7 @@ jobs:
- name: Deploy to S3
run: |
cd ${{ github.event.repository.name }}
aws s3 cp users s3://${{ env.AWS_BUCKET }}/ --recursive
aws s3 cp users s3://${{ env.BASE_URL }}/ --recursive
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 comments on commit ee56a52

Please sign in to comment.