From 02010ca06e765284497f0e13ccadf8ae5f0e12ac Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Fashola Date: Fri, 26 Jan 2024 22:10:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=99=20Github=20Actions=20Dispatch=20fi?= =?UTF-8?q?xed=20up=20:+1:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dispatcher.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/dispatcher.yml b/.github/workflows/dispatcher.yml index ea46eea..9812929 100644 --- a/.github/workflows/dispatcher.yml +++ b/.github/workflows/dispatcher.yml @@ -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 @@ -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\"}"