Skip to content

Commit

Permalink
Update action to pull data.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
supernord committed Mar 18, 2024
1 parent 5dbb413 commit 97f3bc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/import_file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ jobs:
- name: Update
run: |
cd temporary_folder
cp -u data/data.yml ../
cp -u data/data.yaml ../
cd ..
- name: Check for changes
run: |
if git diff --quiet; then
echo "There is no change in data.yml."
echo "There is no change in data.yaml."
echo "exiting = true" >> $GITHUB_ENV
fi
Expand All @@ -33,7 +33,7 @@ jobs:
run: |
git config user.name "{{ github.actor }}"
git config user.email "{{ github.actor }}@users.noreply.github.com"
git add _data/data.yml
git add _data/data.yaml
git commit -m "Updated the data.yml sourced from australianbiocommons.github.io"
git push
fi

0 comments on commit 97f3bc6

Please sign in to comment.