Skip to content

Deploy Centrapay Docs Dev #146

Deploy Centrapay Docs Dev

Deploy Centrapay Docs Dev #146

Workflow file for this run

name: Deploy Centrapay Docs Dev
on:
workflow_dispatch
jobs:
deploy-dev:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lock-file
- run: ./build.sh --mode development
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::450412180052:role/github-actions-centrapay-docs
role-session-name: centrapay-docs-preview-deploy-session
aws-region: ap-southeast-1
- run: ./scripts/deploy-dev.sh