mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
Bumps [actions/setup-node](https://github.com/actions/setup-node) from aca7b64a59c0063db8564e0ffdadd3887f1cbae5 to 39370e3970a6d050c480ffad4ff0ed4d3fdee5af.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](aca7b64a59...39370e3970)
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
name: ocelot.social deploy documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
files-changed:
|
|
name: Detect File Changes - Markdown and Vuepress files
|
|
runs-on: ubuntu-latest
|
|
outputs:
|
|
documentation: ${{ steps.changes.outputs.documentation }}
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.1.7
|
|
|
|
- name: Check for file changes
|
|
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
|
|
id: changes
|
|
with:
|
|
token: ${{ github.token }}
|
|
filters: .github/file-filters.yml
|
|
list-files: shell
|
|
|
|
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@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.0.3
|
|
with:
|
|
node-version: 20
|
|
|
|
- name: Build Vuepress Pages
|
|
run: npm install && npm run docs:build
|
|
|
|
- name: Deploy Vuepress to Github Pages
|
|
uses: crazy-max/ghaction-github-pages@08f571653184e9ff3d598bdda53ffd4ed00ed562 # v4.0.0
|
|
with:
|
|
target_branch: gh-pages
|
|
build_dir: .vuepress/dist
|
|
author: Wolfgang Huß <vorstand@busfaktor.org>
|
|
fqdn: docs.ocelot.social
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|