Created
May 13, 2020 08:07
-
-
Save adrianjost/a778033cc568bb84c05faa8f9cf2ad7f to your computer and use it in GitHub Desktop.
Example: Files Sync Action - simple
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': | |
schedule: | |
- cron: '0 3 * * *' | |
push: | |
branches: | |
- master | |
jobs: | |
files: | |
name: Files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: adrianjost/[email protected] | |
with: | |
GITHUB_TOKEN: '${{ secrets.SYNC_GITHUB_TOKEN }}' | |
FILE_PATTERNS: |- | |
^\.github\/workflows\/synced-.*\.yml$ | |
^LICENSE\.md$ | |
TARGET_REPOS: |- | |
adrianjost/Curriculum-Vitae | |
adrianjost/dedent-tabs | |
adrianjost/... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment