ci(github): don't delete version.txt in release-please.yml #118
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: build | |
on: [push, pull_request] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Ren'Py | |
uses: remarkablegames/setup-renpy@v1 | |
with: | |
web: true | |
- name: Build web | |
run: | | |
renpy-launcher web_build . --destination web | |
cp web-presplash.jpg web/web-presplash.jpg | |
- name: Deploy | |
if: github.ref_name == 'master' | |
uses: remarkablemark/gitploy-action@v1 | |
with: | |
directory: web | |
- name: Upload artifacts | |
if: github.ref_name == 'master' | |
uses: actions/upload-artifact@v4 | |
with: | |
name: web_build | |
path: web |