fix console inputline (#50) #134
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: publish build to gh-pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
set-safe-directory: true | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: .nvmrc | |
- name: setup and build | |
run: | | |
yarn build | |
yarn build:copy-404 | |
yarn build:copy-cname | |
- name: Push | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: public # The branch name where you want to push the assets | |
FOLDER: ./cafe/dist # The directory where your assets are generated | |
MESSAGE: 'Build: ({sha}) {msg}' # The commit message | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token |