Skip to content

Commit

Permalink
copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoff Kendal committed Jan 31, 2024
1 parent bbd2251 commit 263ea3b
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ jobs:
working-directory: frontend
run: npm run build

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: accreditation
path: frontend/build
overwrite: true

deploy-dev:
runs-on: ubuntu-latest
Expand All @@ -56,8 +62,14 @@ jobs:
tg_version: ${{ env.terragrunt_version }}
tg_dir: environments/dev
tg_command: 'apply'

- name: Download build artifacts
uses: actions/download-artifact@v4
with:
name: accreditation
path: accreditation

- name: Copy build to s3
- name: Copy to S3
working-directory: frontend
run: pwd && ls -la && aws s3 sync frontend/build s3://stumblefunk-www-dev/accreditation
run: pwd && ls -la && aws s3 sync accreditation s3://stumblefunk-www-dev/accreditation

0 comments on commit 263ea3b

Please sign in to comment.