ocelot.social/.github/workflows/vuepress-deploy.yml
dependabot[bot] 8265ac9db6
Bump actions/setup-node from 4.2.0 to 4.3.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](1d0ff469b7...cdca7365b2)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-29 07:35:18 +00:00

34 lines
871 B
YAML

name: Build and Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
- name: Setup Node 20
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # 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@fbf0a4fa4e00f45accd6cf3232368436ec06ed59 # 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 }}