fix ridaisai #73
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: Github Pages Pusher | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
run: yarn install | |
- name: Build | |
run: | | |
export NODE_OPTIONS=--openssl-legacy-provider | |
yarn build | |
# これがないとアンスコから始まるファイルが読み込まれない | |
- name: Add nojekyll | |
run: touch ./out/.nojekyll | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./out |