Skip to content

Commit

Permalink
ci: fix checkout command
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGreatRefrigerator committed Aug 2, 2024
1 parent 726af40 commit a48391a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/heal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
run: git fetch --prune
- name: checkout trigger branch
working-directory: ${{ secrets.work_dir }}
run: git checkout --progress --force -B ${GITHUB_REF_NAME} ${GITHUB_REF}
run: git checkout --progress --force ${GITHUB_REF_NAME}
- name: hard reset to origin state
working-directory: ${{ secrets.work_dir }}
run: git reset --hard origin/${GITHUB_REF_NAME}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: git fetch --prune
- name: checkout trigger branch
working-directory: ${{ secrets.work_dir }}
run: git checkout --progress --force -B ${GITHUB_REF_NAME} ${GITHUB_REF}
run: git checkout --progress --force ${GITHUB_REF_NAME}
- name: hard reset to origin state
working-directory: ${{ secrets.work_dir }}
run: git reset --hard origin/${GITHUB_REF_NAME}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: git fetch --prune
- name: checkout trigger branch
working-directory: ${{ secrets.work_dir }}
run: git checkout --progress --force -B ${GITHUB_REF_NAME} ${GITHUB_REF}
run: git checkout --progress --force ${GITHUB_REF_NAME}
- name: hard reset to origin state
working-directory: ${{ secrets.work_dir }}
run: git reset --hard origin/${GITHUB_REF_NAME}
Expand Down

0 comments on commit a48391a

Please sign in to comment.