Skip to content

ci(github): change build destination in workflow build.yml #99

ci(github): change build destination in workflow build.yml

ci(github): change build destination in workflow build.yml #99

Workflow file for this run

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 ../dist
cp web-presplash.jpg ../dist/web-presplash.jpg
- name: Deploy
if: github.ref_name == 'master'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ../dist
- name: Upload artifacts
if: github.ref_name == 'master'
uses: actions/upload-artifact@v4
with:
name: web_build
path: ../dist