Skip to content

删除已过时的配置 #90

删除已过时的配置

删除已过时的配置 #90

Workflow file for this run

name: gh-pages
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup deno
uses: denolib/setup-deno@v2
with:
deno-version: v1.34.1
- name: Build gh-pages
run: |
curl -fsSL https://deno.land/x/install/install.sh | sh
export DENO_INSTALL="/home/runner/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
deno --version
deno install --unstable --allow-read --allow-write --allow-net --allow-run -n pagic https://deno.land/x/[email protected]/mod.ts
pagic build
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
cname: ts.xcatliu.com