Skip to content

Commit

Permalink
👷 Add workflow dispatcher
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Apr 25, 2024
1 parent b1c05d2 commit be524d9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 87 deletions.
87 changes: 0 additions & 87 deletions .github/workflows/build-site.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Dispatch workflows
on:
push:
branches: ['main', 'master']
workflow_dispatch:
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch chowdhary.org build-site workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: build-site.yaml
repo: chowdhary-org/chowdhary.org
token: ${{ secrets.GH_PAT }}
- name: Dispatch chowdhary.co build-site workflow
uses: benc-uk/workflow-dispatch@v1
with:
workflow: build-site.yaml
repo: chowdhary-org/chowdhary.co
token: ${{ secrets.GH_PAT }}

0 comments on commit be524d9

Please sign in to comment.