Skip to content

Update Protocol.md

Update Protocol.md #61

Workflow file for this run

name: build
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
env:
NODE_VERSION: '18'
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'yarn'
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn --frozen-lockfile
- name: Build site
run: yarn build
- name: Upload Artefact
if: success()
uses: actions/upload-artifact@main
with:
name: dist
path: .vitepress/dist
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .vitepress/dist
cname: HyperCeiler.sevtinge.cc # if wanna deploy to custom domain