Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Sep 13, 2024
1 parent c68732f commit cac3e40
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/aws-amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ jobs:
- name: Configure Amplify
run: amplify configure

# 切换到仓库根目录以初始化 Amplify 环境
- name: Initialize Amplify Environment
run: amplify init --appId ${{ env.AMPLIFY_APP_ID }} --envName dev --region ${{ env.AWS_REGION }} --yes

- name: Deploy to Amplify
env:
AMPLIFY_APP_ID: ${{ env.AMPLIFY_APP_ID }}
Expand Down

0 comments on commit cac3e40

Please sign in to comment.