Skip to content

Merge pull request #452 from ZhiliangWu/docs/reload-vs-code #79

Merge pull request #452 from ZhiliangWu/docs/reload-vs-code

Merge pull request #452 from ZhiliangWu/docs/reload-vs-code #79

Workflow file for this run

name: Deploy Site
on:
push:
branches:
- master
paths:
- "site/**/*"
workflow_dispatch: {}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "16"
- name: Build Site
run: yarn && yarn site:build
working-directory: site
- name: Deploy Site
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site/site/.vitepress/dist
cname: taplo.tamasfe.dev