mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
cleanup workflow files
This commit is contained in:
parent
eb25f5f8b7
commit
030da181a2
42
.github/workflows/check-documentation.yml
vendored
42
.github/workflows/check-documentation.yml
vendored
@ -27,19 +27,19 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.files-changed.outputs.markdown == 'true'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Check Markdown Links
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@master
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
use-verbose-mode: 'no'
|
||||
# at any .md file change take the chance to check the links in all .md files
|
||||
check-modified-files-only: 'no'
|
||||
config-file: '.github/workflows/mlc_config.json'
|
||||
base-branch: 'master'
|
||||
folder-path: '.'
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@master
|
||||
with:
|
||||
use-quiet-mode: 'yes'
|
||||
use-verbose-mode: 'no'
|
||||
# at any .md file change take the chance to check the links in all .md files
|
||||
check-modified-files-only: 'no'
|
||||
config-file: '.github/workflows/mlc_config.json'
|
||||
base-branch: 'master'
|
||||
folder-path: '.'
|
||||
|
||||
test-vuepress-build:
|
||||
name: Test Vuepress build
|
||||
@ -47,16 +47,16 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: needs.files-changed.outputs.vuepress == 'true'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
- name: Setup Node 20
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: npm-install
|
||||
run: npm install
|
||||
- name: npm-install
|
||||
run: npm install
|
||||
|
||||
- name: npm-docs:build
|
||||
run: npm run docs:build
|
||||
- name: npm-docs:build
|
||||
run: npm run docs:build
|
||||
|
||||
20
.github/workflows/deploy-documentation.yml
vendored
20
.github/workflows/deploy-documentation.yml
vendored
@ -29,14 +29,14 @@ jobs:
|
||||
needs: files-changed
|
||||
if: needs.files-changed.outputs.documentation == 'true'
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Vuepress Build and Deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
TARGET_REPO: Ocelot-Social-Community/Ocelot-Social
|
||||
TARGET_BRANCH: gh-pages
|
||||
BUILD_SCRIPT: npm install && npm run docs:build -- --config docs/.vuepress/config github.js
|
||||
BUILD_DIR: .vuepress/dist
|
||||
- name: Vuepress Build and Deploy
|
||||
uses: jenkey2011/vuepress-deploy@master
|
||||
env:
|
||||
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
||||
TARGET_REPO: Ocelot-Social-Community/Ocelot-Social
|
||||
TARGET_BRANCH: gh-pages
|
||||
BUILD_SCRIPT: npm install && npm run docs:build -- --config docs/.vuepress/config github.js
|
||||
BUILD_DIR: .vuepress/dist
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user