Download the leaves #2
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: Download the leaves | |
on: | |
workflow_dispatch: | |
permissions: | |
actions: write | |
id-token: write | |
contents: write | |
jobs: | |
download: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Download the leaves | |
run: | | |
pip install -r requirements.txt | |
python try3.py | |
- name: Commit the changes | |
run: | | |
git pull origin main | |
git config --global user.name "GitHub Actions" | |
git config --global user.email "[email protected]" | |
git add --all | |
git commit -m "Download the leaves" | |
git push -f origin main | |