chore: change deploy order. (#4441) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Code | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- staging/src/github.com/labring/** | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run GitHub File Sync | |
# Can update to v1 when https://github.com/BetaHuhn/repo-file-sync-action/issues/168 is resolved | |
uses: BetaHuhn/[email protected] | |
with: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
CONFIG_PATH: .github/sync_code.yml | |
ORIGINAL_MESSAGE: true | |
SKIP_PR: true | |
COMMIT_EACH_FILE: false | |
GIT_EMAIL: "[email protected]" | |
GIT_USERNAME: "sealos-ci-robot" |