Files
VisualStoryWriting/.github/workflows/deploy.yml
T
Damien Masson fe49fe4069 Initial release
2025-07-13 16:48:51 -04:00

28 lines
688 B
YAML

name: deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 23
- run: npm i
- run: npm run build
env:
BASE_URL: /VisualStoryWriting
DEV: true # Do not treat warnings as errors
- run: touch build/.nojekyll
- name: Push
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: gh-pages
FOLDER: build
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MESSAGE: "Build: ({sha}) {msg}"
SQUASH_HISTORY: true