Skip to content

new file: .github/workflows/deploy.yml #1

new file: .github/workflows/deploy.yml

new file: .github/workflows/deploy.yml #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public # 替换为 master 分支中你要关联的目录
publish_branch: gh-pages