Skip to content

Commit

Permalink
Added in upload and download for artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
TaylorHalf committed Dec 6, 2023
1 parent d8ba8ca commit 47e7547
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,15 @@ jobs:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: npm run build -- --configuration='deploy' --output-path='dist/'

# deploy_infra:
- uses: actions/upload-artifact@v3
with:
name: VTM-App-build-output
path: dist/




# deploy_infra:
# needs: [build]
# name: "Deploy VTM Terraform"
# runs-on: ubuntu-latest
Expand Down Expand Up @@ -105,7 +113,13 @@ jobs:
secret-ids: cvs-app-vtm/gha
parse-json-secrets: true

- uses: actions/download-artifact@v3
with:
name: VTM-App-build-output
path: dist/


- name: Deploy App to S3
working-directory: cvs-app-vtm/dist/
working-directory: dist/
run: aws s3 sync . s3://vtm${{ inputs.bucket }}.${{ env.CVS_APP_VTM_GHA_DOMAIN }}

0 comments on commit 47e7547

Please sign in to comment.