Skip to content

Commit

Permalink
fix(workflow): remove force push from live-data branch (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianfoo authored May 1, 2022
1 parent 09dc35b commit 78cc3be
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: switch to live-data branch
run: |
git fetch --all
git checkout live-data
git pull origin live-data
- name: rebase from main
run: |
git rebase main
- name: Use Node.js LTS (16.x)
uses: actions/setup-node@v2
with:
Expand All @@ -32,4 +42,5 @@ jobs:
git add data/data.json
git add data/versions.json
git commit -m "chore: crawl"
git push origin HEAD:live-data --force
git push live-data
continue-on-error: true

0 comments on commit 78cc3be

Please sign in to comment.