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 6de32dd commit 92170fe
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/aws-amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ jobs:
run: npm run build
working-directory: ./client # 仅在 ./client 目录下构建 Next.js 应用程序

- name: Configure Amplify
run: amplify configure
- name: Initialize Amplify
run: |
amplify pull --appId ${{ secrets.AMPLIFY_APP_ID }} --envName dev --yes
amplify env checkout dev
- name: Deploy to Amplify
env:
Expand Down

0 comments on commit 92170fe

Please sign in to comment.