Add a mirror branch of main
for with-dev-backend
#1
Workflow file for this run
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 branch to main-mirror-for-wdb | |
on: | |
push: | |
branches: | |
- with-dev-backend | |
jobs: | |
lint_and_build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Mirror branch | |
run: | | |
git checkout main | |
git fetch origin main | |
git checkout -b main-mirror-for-wdb | |
git reset --hard main | |
git push origin main-mirror-for-wdb --force |