diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 95686e4..d9a6305 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,6 +3,8 @@ name: Deploy to GitHub Pages on: push: branches: [master] + repository_dispatch: + types: [deploy-trigger] workflow_dispatch: # Allow this job to clone the repo and create a page deployment diff --git a/.github/workflows/sync-implementation.yml b/.github/workflows/sync-implementation.yml index 6a054e5..1d53f91 100644 --- a/.github/workflows/sync-implementation.yml +++ b/.github/workflows/sync-implementation.yml @@ -38,3 +38,8 @@ jobs: git diff --staged --quiet && echo "No changes" && exit 0 git commit -m "chore: update implementation status" git push + + - name: Trigger deployment workflow + uses: peter-evans/repository-dispatch@v3 + with: + event-type: deploy-trigger