ocelot.social/.github/workflows/vuepress-deploy.yml
dependabot[bot] 7402528ac5
Bump actions/checkout
Bumps [actions/checkout](https://github.com/actions/checkout) from 9a9194f87191a7e9055e3e9b95b8cfb13023bb08 to 6d193bf28034eafb982f37bd894289fe649468fc.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9a9194f871...6d193bf280)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 01:40:25 +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@6d193bf28034eafb982f37bd894289fe649468fc # v4.1.7
- name: Setup Node 20
uses: actions/setup-node@26961cf329f22f6837d5f54c3efd76b480300ace # 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@cda5497acf90563d34489ed832a67c2c50353a16 # 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 }}