Merge branch 'state_level_initial' of github.com:USEPA/FrEDI into fre… #52
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: Update System Data | |
on: [push] | |
jobs: | |
get_data: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Commit results | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "GitHub Actions" | |
git branch --set-upstream-to origin/fredi_data_cp_data_tkg | |
git pull origin ${{ github.head_ref }} --autostash --rebase -X ours | |
git pull --depth=1 --ff https://github.com/USEPA/FrEDI_Data.git data_only_branch_tkg --allow-unrelated-histories | |
cp -r data_new createSystemData/new_data | |
git branch --show-current | |
git add createSystemData/new_data | |
git status | |
git commit -am "add data" | |
git push -f |