Skip to content

chore: trigger deployment #18

chore: trigger deployment

chore: trigger deployment #18

Workflow file for this run

name: Deployment
on:
workflow_dispatch:
push:
branches: [ master ]
permissions:
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
env:
JWT_RS256_KEY: ${{ secrets.JWT_RS256_KEY }}
JWT_RS256_PUBLIC_KEY: ${{ secrets.JWT_RS256_PUBLIC_KEY }}
GITHUB_CLIENT_ID: ${{ secrets.GH_CLIENT_ID }}
GITHUB_CLIENT_SECRET: ${{ secrets.GH_CLIENT_SECRET }}
COGNITO_REDIRECT_URI: ${{ secrets.COGNITO_REDIRECT_URI }}
AWS_SAM_STAGE_NAME: ${{ secrets.AWS_SAM_STAGE_NAME }}
AWS_SAM_STACK_NAME: ${{ secrets.AWS_SAM_STACK_NAME }}
AWS_SAM_BUCKET_NAME: ${{ secrets.AWS_SAM_BUCKET_NAME }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::589021184281:role/GitHub-Action
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}
- run: npm run deploy