Mirror main to demo branch #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirror main to demo branch | |
on: | |
workflow_run: | |
workflows: [Check for syntax errors] | |
types: [completed] | |
branches: [main] | |
jobs: | |
mirror_job: | |
runs-on: ubuntu-latest | |
name: Mirror main branch to demo branch | |
steps: | |
- name: Mirror action step | |
id: mirror | |
uses: google/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
source: 'main' | |
dest: 'demo' |