Skip to content

Commit

Permalink
chore: allow to dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Jun 23, 2024
1 parent fd58159 commit 2d8f6f6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Dispatch to repo
on:
push:
branches: main
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
strategy:
matrix:
repo: ["dicelette/dicelette.github.io"]
steps:
- name: Push to repo
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.GH_PAT }}
repository: ${{ matrix.repo }}
event-type: build
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "module": "content", "branch": "main"}'

0 comments on commit 2d8f6f6

Please sign in to comment.