Skip to content

Merge pull request #159 from Ocelot-Social-Community/dependabot/npm_a… #71

Merge pull request #159 from Ocelot-Social-Community/dependabot/npm_a…

Merge pull request #159 from Ocelot-Social-Community/dependabot/npm_a… #71

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
author: Wolfgang Huß <[email protected]>
fqdn: ocelot.social
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}