Skip to content

modify build script to ship a version file #6

modify build script to ship a version file

modify build script to ship a version file #6

Workflow file for this run

name: Build and Publish
on:
push:
branches:
- main
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run build script
run: ./build.sh
- name: Publish to gh-pages branch
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_BRANCH: gh-pages
publish_dir: ./dist