Skip to content

Commit

Permalink
add amplify redploy github action with pull request trigger for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-marcus committed Jul 29, 2024
1 parent cd05466 commit 60c4458
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/amplify-redeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Redeploy AWS Amplify

on:
schedule:
- cron: "0 14 * * *" # 10 AM ET (2 PM UTC)
- cron: "0 21 * * *" # 5 PM ET (9 PM UTC)
workflow_dispatch:
pull_request:

jobs:
redeploy:
runs-on: ubuntu-latest

steps:
- name: Trigger Amplify Redeploy via Webhook
run: |
curl -X POST -d {} "${{ secrets.AMPLIFY_WEBHOOK_URL }}" -H "Content-Type:application/json"

0 comments on commit 60c4458

Please sign in to comment.