Skip to content

Merge pull request #175 from Ocelot-Social-Community/dependabot/githu… #81

Merge pull request #175 from Ocelot-Social-Community/dependabot/githu…

Merge pull request #175 from Ocelot-Social-Community/dependabot/githu… #81

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.1.7
- name: Setup Node 20
uses: actions/setup-node@aca7b64a59c0063db8564e0ffdadd3887f1cbae5 # v4.0.3
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@08f571653184e9ff3d598bdda53ffd4ed00ed562 # v4.0.0
with:
target_branch: gh-pages
build_dir: docs/.vuepress/dist
author: Wolfgang Huß <vorstand@busfaktor.org>
fqdn: ocelot.social
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}