Fix regenerate #9
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: Push to develop | |
on: | |
push: | |
branches: | |
- develop | |
permissions: | |
contents: write # Allows write access to repository content | |
issues: write # Allows write access to issues (if needed) | |
pull-requests: write # Allows write access to pull requests (if needed) | |
jobs: | |
auto-content-update: | |
name: Autoupdate content | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
fetch-depth: 2 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
- name: Install Trestle | |
run: bash scripts/automation/install_trestle.sh | |
- name: Automatically update content on push | |
run: bash scripts/automation/check_and_update_all.sh | |
- name: Push the changes | |
run: bash scripts/automation/push.sh | |