Skip to content

Commit

Permalink
Part of OpenHistoricalMap/issues#786, adjusting workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Jul 11, 2024
1 parent 3cc55fb commit e4369a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ohm.upstream-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ jobs:
run:
shell: bash
steps:
- name: Delete previous sacrificial branch
- name: Check out our repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Delete previous sacrificial branch
run: |
git branch -D 'the-sacrifice'
- name: Create new sacrificial branch
uses: peterjgrainger/[email protected]
with:
branch: 'the-sacrifice'
- name: Check main out to sacrificial branch
- name: Check out sacrificial branch
uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down

0 comments on commit e4369a3

Please sign in to comment.