Skip to content

Commit

Permalink
Update sync.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
YaKun9 authored Jun 12, 2024
1 parent d6f3426 commit 2a2e5f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Clone Gitea repository
env:
GITEA_URL: ${{ secrets.GITEA_URL }}
GITEA_USERNAME: ${{ secrets.GITEA_USERNAME }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
git clone --mirror https://${{ secrets.GITEA_REPO }}:${{ secrets.GITEA_TOKEN }}@gitea.snat.top/seesharper/SageTools.git gitea_repo
git clone --mirror https://${GITEA_USERNAME}:${GITEA_TOKEN}@${GITEA_URL} gitea_repo
- name: Sync changes to GitHub
run: |
Expand Down

0 comments on commit 2a2e5f2

Please sign in to comment.