Skip to content

Instantly share code, notes, and snippets.

@cp-sumi-k
Last active April 12, 2022 12:45
Show Gist options
  • Save cp-sumi-k/4f4411e2f269704c8a29b3eacd37e502 to your computer and use it in GitHub Desktop.
Save cp-sumi-k/4f4411e2f269704c8a29b3eacd37e502 to your computer and use it in GitHub Desktop.
name: DeploySSRApp
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/[email protected]
- uses: actions/setup-node@v1
with:
node-version: "17"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: < IAM-ROLE-ARN >
aws-region: < AWS-REGION >
- name: Build frontend and push on ECR
run: |
cd vue-frontend
sh ./deploy-ecr-image.sh < ECR-IMAGE-ARN >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment