mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
Merge pull request #12 from Ocelot-Social-Community/replace-vuepress-deploy-action
refactor(other): replace vuepress deploy action
This commit is contained in:
commit
80aa0b2c4d
17
.github/workflows/vuepress-deploy.yml
vendored
17
.github/workflows/vuepress-deploy.yml
vendored
@ -12,17 +12,10 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
- name: vuepress-gh-pages-deploy
|
||||
uses: crazy-max/ghaction-github-pages@master
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: vuepress-deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
target_branch: gh-pages
|
||||
build_dir: docs/.vuepress/dist
|
||||
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
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user