Clean up Demon City Files (#139) #1
This file contains hidden or 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: Compress Demon City Buildings | |
| on: | |
| push: | |
| branches: [ master ] | |
| paths: [ raw/buildings/*.json ] | |
| workflow_dispatch: { } | |
| jobs: | |
| buildings: | |
| name: Compress Demon City Buildings | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v5 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Compress Demon City Buildings | |
| run: python .github/scripts/compress.py buildings schematics/building/buildings.zip | |
| - name: Create PR | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| title: Compress Demon City Buildings | |
| body: Automated changes by Compress Demon City Buildings workflow. | |
| commit-message: Compress Demon City Buildings | |
| delete-branch: true | |
| branch: demon-city-buildings/patch |