cleanup workflow files

This commit is contained in:
mahula 2023-11-27 10:56:04 +01:00
parent eb25f5f8b7
commit 030da181a2
2 changed files with 31 additions and 31 deletions

View File

@ -27,19 +27,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: needs.files-changed.outputs.markdown == 'true' if: needs.files-changed.outputs.markdown == 'true'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Check Markdown Links - name: Check Markdown Links
uses: gaurav-nelson/github-action-markdown-link-check@master uses: gaurav-nelson/github-action-markdown-link-check@master
with: with:
use-quiet-mode: 'yes' use-quiet-mode: 'yes'
use-verbose-mode: 'no' use-verbose-mode: 'no'
# at any .md file change take the chance to check the links in all .md files # at any .md file change take the chance to check the links in all .md files
check-modified-files-only: 'no' check-modified-files-only: 'no'
config-file: '.github/workflows/mlc_config.json' config-file: '.github/workflows/mlc_config.json'
base-branch: 'master' base-branch: 'master'
folder-path: '.' folder-path: '.'
test-vuepress-build: test-vuepress-build:
name: Test Vuepress build name: Test Vuepress build
@ -47,16 +47,16 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: needs.files-changed.outputs.vuepress == 'true' if: needs.files-changed.outputs.vuepress == 'true'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Setup Node 20 - name: Setup Node 20
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '20'
- name: npm-install - name: npm-install
run: npm install run: npm install
- name: npm-docs:build - name: npm-docs:build
run: npm run docs:build run: npm run docs:build

View File

@ -29,14 +29,14 @@ jobs:
needs: files-changed needs: files-changed
if: needs.files-changed.outputs.documentation == 'true' if: needs.files-changed.outputs.documentation == 'true'
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@master uses: actions/checkout@master
- name: Vuepress Build and Deploy - name: Vuepress Build and Deploy
uses: jenkey2011/vuepress-deploy@master uses: jenkey2011/vuepress-deploy@master
env: env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_REPO: Ocelot-Social-Community/Ocelot-Social TARGET_REPO: Ocelot-Social-Community/Ocelot-Social
TARGET_BRANCH: gh-pages TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run docs:build -- --config docs/.vuepress/config github.js BUILD_SCRIPT: npm install && npm run docs:build -- --config docs/.vuepress/config github.js
BUILD_DIR: .vuepress/dist BUILD_DIR: .vuepress/dist