Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Add deploy to dev
Browse files Browse the repository at this point in the history
  • Loading branch information
krolol committed Apr 18, 2024
1 parent bc08168 commit 55dcdb3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release to dev
on:
push:
branches:
- dev
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-slim'
install_packages_command: 'cp .env.dev .env; npm ci'
build_command: 'npm run build'
path_to_static_files_to_upload: 'build'
aws_account_id: ${{ vars.DEV_CORE_AWS_ACCOUNT_ID }}
s3_bucket_name: 'qr-code-scanner-dev.core-dev.aws.cere.io.s3.amazonaws.com'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN_READ }}

0 comments on commit 55dcdb3

Please sign in to comment.