Update Analogue
readmes
#415
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: Full theme release automation | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
automate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12.3' | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v4 | |
with: | |
path: ".github/requirements.txt" | |
- name: Extract any new zip files | |
run: python3 .github/extract.py | |
- name: Release any new themes | |
run: python3 .github/release.py -n | |
- name: Update README | |
run: python3 .github/generate.py | |
- name: Commit and push changes | |
uses: actions-js/[email protected] | |
with: | |
author_name: 'OnionBot' | |
message: 'Theme release automation' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
force: true |