Skip to content

Commit

Permalink
ci: add deploy to amplify jobs on release
Browse files Browse the repository at this point in the history
  • Loading branch information
hanseo0507 committed Jul 10, 2023
1 parent f9a3248 commit a051796
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/publish.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish Docker Image
name: Release

on:
release:
Expand Down Expand Up @@ -39,3 +39,12 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

deploy_to_amplify:
name: Request Amplify Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Send request to Amplify deploy webhook
run: curl -X POST -d {} ${{ secrets.AMPLIFY_DEPLOY_WEBHOOK }} -H "Content-Type:application/json"

0 comments on commit a051796

Please sign in to comment.