Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Update README.md

Update README.md #78

Workflow file for this run

name: Build & Deploy
on:
workflow_dispatch:
push:
# schedule:
# - cron: "0 3 * * *"
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
- name: Installing packages
run: npm ci
- name: Prepare Nuxt
run: npx nuxi prepare
- name: Build Nuxt 3 static site
run: npm run generate
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./.playground/dist
commit_message: 'Automatic deploy: ${{ github.event.head_commit.message }}'