Deploy Centrapay Docs Dev #147
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: 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 |