mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
34 lines
871 B
YAML
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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # 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 }}
|