Skip to content

Commit

Permalink
πŸ™ Github Actions Dispatch fixed up πŸ‘
Browse files Browse the repository at this point in the history
  • Loading branch information
ShafSpecs committed Jan 26, 2024
1 parent 9a1c99d commit 02010ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
wait-and-trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout code
- name: βœ… Checkout code
uses: actions/checkout@v4

- name: 5️⃣ Wait for 5 seconds
run: sleep 5
- name: πŸ”Ÿ Wait for 10 seconds
run: sleep 10

- name: πŸ”€ Check for newer commits
id: check-commits
Expand All @@ -35,6 +35,6 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/ShafSpecs/journal-stack/actions/workflows/sync-s3-posts.yml/dispatches \
https://api.github.com/repos/${{ github.repository_owner }}/${{ github.repository }}/actions/workflows/sync-s3-posts.yml/dispatches \
-d "{\"ref\":\"main\"}"

0 comments on commit 02010ca

Please sign in to comment.