Release to stage #83
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release to stage | |
on: | |
push: | |
branches: | |
- 'release/**' | |
- 'hotfix/**' | |
workflow_dispatch: | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build-and-deploy: | |
uses: cere-io/reusable-workflows/.github/workflows/deploy-to-cloudfront.yaml@master | |
with: | |
build_container: 'node:18-buster' | |
install_packages_command: 'cp .env.stage .env; npm ci' | |
build_command: 'npm run build' | |
path_to_static_files_to_upload: 'build' | |
aws_account_id: ${{ vars.STG_CORE_AWS_ACCOUNT_ID }} | |
s3_bucket_name: 'stg-cere-wallet-client-dist' | |
secrets: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN_READ }} |