Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Pospelove committed Apr 15, 2024
1 parent 406775e commit ad7aff8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/push-skymp5-patches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,20 @@ jobs:
path: /home/runner/work/skymp5-patches
ref: main
- name: Checkout skyrim-multiplayer/skymp
uses: actions/checkout@v3
# https://github.com/actions/checkout/issues/197#issuecomment-971545044
uses: Pospelove/checkout@main
with:
repository: skyrim-multiplayer/skymp5
# submodules: recursive
fetch-depth: 0
path: /home/runner/work/skymp
ref: main

- name: Set skymp5-patches main branch to skymp main branch
run: |
cd /home/runner/work/skymp5-patches
git checkout main
git remote add skymp ../skymp || true
git remote add skymp /home/runner/work/skymp || true
git fetch skymp main
git reset --hard skymp/main
git push origin main
Expand Down

0 comments on commit ad7aff8

Please sign in to comment.