Skip to content

Commit

Permalink
Merge pull request #50 from YoYoGames/fix.sync
Browse files Browse the repository at this point in the history
fixes for syncing translated repos from main
  • Loading branch information
gurpreetsinghmatharoo authored Nov 15, 2023
2 parents 6680b48 + 3ee68ca commit f5f3c85
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
name: Sync latest commits from upstream repo
steps:
# - name: Checkout target repo
# uses: actions/checkout@v2
# with:
# ref: main
# token: ${{ secrets.GH_TOKEN }}
# persist-credentials: false
- name: Checkout target repo
uses: actions/checkout@v2
with:
ref: main
token: ${{ secrets.GH_TOKEN }}
persist-credentials: false
- name: repo-sync-develop
uses: repo-sync/github-sync@v2
with:
Expand All @@ -25,12 +25,12 @@ jobs:
destination_branch: "develop"
github_token: ${{ secrets.GH_TOKEN }}
sync_tags: "true"
# - name: repo-sync-lts-2022-r1
# uses: repo-sync/github-sync@v2
# with:
# source_repo: "https://${{ secrets.GH_TOKEN }}@github.com//YoYoGames/GameMaker-Manual.git"
# source_branch: "lts-2022-r1"
# destination_branch: "lts-2022-r1"
# github_token: ${{ secrets.GH_TOKEN }}
# sync_tags: "true"
- name: repo-sync-lts-2022-r1
uses: repo-sync/github-sync@v2
with:
source_repo: "https://${{ secrets.GH_TOKEN }}@github.com//YoYoGames/GameMaker-Manual.git"
source_branch: "lts-2022-r1"
destination_branch: "lts-2022-r1"
github_token: ${{ secrets.GH_TOKEN }}
sync_tags: "true"

0 comments on commit f5f3c85

Please sign in to comment.