mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-12 23:35:59 +00:00
add vuepress deployment workflow
This commit is contained in:
parent
68da8d0268
commit
f668af7457
28
.github/workflows/vuepress-deploy.yml
vendored
Normal file
28
.github/workflows/vuepress-deploy.yml
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
name: Build and Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: vuepress-deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
TARGET_REPO: Ocelot-Social-Community/ocelot.social
|
||||
TARGET_BRANCH: gh-pages
|
||||
BUILD_SCRIPT: npm install && npm run build-legacy
|
||||
BUILD_DIR: docs/.vuepress/dist
|
||||
CNAME: https://www.ocelot.social
|
||||
Loading…
x
Reference in New Issue
Block a user