Update main.yml #20
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 Summary Statistics | |
on: | |
push: | |
branches: | |
- main # adjust branch as necessary | |
jobs: | |
update_summary: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' # adjust Python version as necessary | |
- name: Run script to update summary statistics | |
run: | | |
python update_summary.py | |
- name: Commit and push changes | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
sudo git rm -f /home/runner/work/TransformersInGenomicsPapers/TransformersInGenomicsPapers/README.md | |
git add README.md | |
git commit -m "Update summary statistics table" | |
git push |