sync #51
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 | |
on: | |
- push | |
- delete | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
name: Git Repo Sync | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: wangchucheng/[email protected] | |
with: | |
# Such as https://github.com/wangchucheng/git-repo-sync.git | |
target-url: https://appcontrol.ama.lan/acessibilidade/accessmonitor/accessmonitor | |
# Such as wangchucheng | |
target-username: antonio.estriga | |
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }} | |
target-token: ${{ secrets.ACCESS_TOKEN }} |