mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
replace vuepress deploy action
This commit is contained in:
parent
5007cad8c8
commit
6b09b500f2
22
.github/workflows/vuepress-deploy.yml
vendored
Normal file
22
.github/workflows/vuepress-deploy.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Build and Deploy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: vuepress-gh-pages-deploy
|
||||||
|
uses: crazy-max/ghaction-github-pages@master
|
||||||
|
with:
|
||||||
|
target_branch: gh-pages
|
||||||
|
build_dir: docs/.vuepress/dist
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user