Merge pull request #242 from KaoruNishikawa/font-list-20241115 #207
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 | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
name: Publish the pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Make the scripts available to the workflow | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Build the pages | |
run: | | |
npm install | |
npm run build | |
- name: Deploy the result | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./dist/ | |
# https://github.com/actions/checkout/issues/13#issuecomment-724415212 | |
user_name: 'github-actions[bot]' | |
user_email: '41898282+github-actions[bot]@users.noreply.github.com' |