Skip to content

Wsl2 Linux 子系统的导入与导出 #90

Wsl2 Linux 子系统的导入与导出

Wsl2 Linux 子系统的导入与导出 #90

Workflow file for this run

# Deploy your Hyas site to GitHub Pages
name: GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '15'
- name: Install dependencies
run: npm ci
- name: Check for linting errors
run: npm test
- name: Build production website
run: npm run build
- name: Copy CNAME file to public
run: cp ./CNAME ./public
- name: Copy ads txt to public
run: cp ads.txt ./public
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.blog_bot_token }}
publish_dir: ./public