Skip to content

新增淺入淺出 EOFv1 的超連結 #7

新增淺入淺出 EOFv1 的超連結

新增淺入淺出 EOFv1 的超連結 #7

name: Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
name: Build and deploy gh-pages
env:
MY_SECRET : ${{ secrets.commit_secret }}
PUBLISH_DIR : .vuepress/dist
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v1
with:
node-version: 16
- name: Build vuepress
run: |
yarn install
yarn build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: .vuepress/dist