Skip to content

Commit

Permalink
force push
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo-XIV committed Aug 30, 2024
1 parent 291b5e2 commit 472488c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/distribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
# git fetch ${{matrix.module}}
# git subtree add --prefix=${{matrix.module}} ${{matrix.module}} main --squash || echo "Subtree already exists, skipping add."

- name: Pull latest changes from the target repo
run: |
git subtree pull --prefix=${{matrix.module}} https://$GITHUB_ACTOR:${{secrets.PERSONAL_ACCESS_TOKEN}}@github.com/Apollo-XIV/${{matrix.module}}.git main
# - name: Pull latest changes from the target repo
# run: |
# git subtree pull --prefix=${{matrix.module}} https://$GITHUB_ACTOR:${{secrets.PERSONAL_ACCESS_TOKEN}}@github.com/Apollo-XIV/${{matrix.module}}.git main

- name: Push changes back to target repo
run: |
git subtree push --prefix=${{matrix.module}} https://$GITHUB_ACTOR:${{secrets.PERSONAL_ACCESS_TOKEN}}@github.com/Apollo-XIV/${{matrix.module}}.git main
git subtree push --force --prefix=${{matrix.module}} https://$GITHUB_ACTOR:${{secrets.PERSONAL_ACCESS_TOKEN}}@github.com/Apollo-XIV/${{matrix.module}}.git main
- name: Clean up remotes
run: git remote remove ${{matrix.module}}

0 comments on commit 472488c

Please sign in to comment.