provisional-data #781
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: provisional-data | |
on: | |
schedule: | |
- cron: "40 */8 * * *" | |
jobs: | |
provis-data: | |
runs-on: windows-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
R_KEEP_PKG_SOURCE: yes | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: checkout high_res_cyano | |
uses: actions/checkout@v4 | |
with: | |
repository: USEPA/high_res_cyano | |
path: high_res_cyano | |
token: ${{ secrets.MY_TOKEN }} | |
- name: copy over csvs | |
run: | | |
cp high_res_cyano/data/provisional/hab_provisional*.* . | |
- name: Commit files | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Actions" | |
git add *.csv | |
git commit -am "copied files" | |
git push |