Skip to content

Commit

Permalink
ci(github): upload artifacts in build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Sep 22, 2024
1 parent 79d444f commit a072f56
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,19 @@ jobs:

- name: Build web
run: |
renpy-launcher web_build . --destination ../dist
cp web-presplash.jpg ../dist/web-presplash.jpg
renpy-launcher web_build . --destination web
cp web-presplash.jpg web/web-presplash.jpg
- name: Deploy
if: github.ref_name == 'master'
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: ../dist
folder: web

- name: Upload artifacts
if: github.ref_name == 'master'
uses: actions/upload-artifact@v4
with:
name: web_build
path: web

0 comments on commit a072f56

Please sign in to comment.