Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(workflow): rebase branch live-data for continuous history #7

Merged
merged 1 commit into from
May 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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