ocelot.social/.github/workflows/vuepress-deploy.yml
dependabot[bot] 6fdb753504
Bump actions/setup-node
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 97ca147735c170fb35096b39ef17a0fc5d9270ac to aca7b64a59c0063db8564e0ffdadd3887f1cbae5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](97ca147735...aca7b64a59)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 08:40:37 +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@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 }}