diff --git a/.github/workflows/check-documentation.yml b/.github/workflows/check-documentation.yml index 0bfd9e279..80462fe8d 100644 --- a/.github/workflows/check-documentation.yml +++ b/.github/workflows/check-documentation.yml @@ -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 diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index 9a22f51f1..3f9f090be 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -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