Monitor and Copy File #1290
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: Monitor and Copy File | |
on: | |
schedule: | |
- cron: '11 03 * * *' # Trigger the workflow every hour | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
repository: irthomasthomas/undecidability | |
token: ${{ secrets.GITHUB_TOKEN }} # Should be a newly generated GitHub token with repo scope | |
- name: Run bash script | |
run: bash ${GITHUB_WORKSPACE}/github-actions/sync_changed_file.sh |