Skip to content

Release to stage

Release to stage #85

Workflow file for this run

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 }}