ocelot.social/.github/workflows/vuepress-deploy.yml
Wolfgang Huß c784ad248b
Remove 'VUEPRESS_BASE' from 'vuepress-deploy.yml'
- Because now we publish to ocelot.social via GitHub pages
2023-12-11 14:18:53 +01:00

32 lines
651 B
YAML

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: Build Vuepress Pages
run: npm install && npm run build
# env:
# VUEPRESS_BASE: '/ocelot.social/'
- name: Deploy Vuepress to Github Pages
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docs/.vuepress/dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}