Merge pull request #12 from Ocelot-Social-Community/replace-vuepress-deploy-action

refactor(other): replace vuepress deploy action
This commit is contained in:
mahula 2023-11-29 12:16:32 +01:00 committed by GitHub
commit 80aa0b2c4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}