docs: general fixes and enhancements (#5429)
* fix #5427 * fixes #5424 * add new s3 option * make learning path steps clickable * remove admin demo link * fix documentation job conditions * update user guide images * update commerce modules titles to match their respective pages * change icon of discount card * change ref to head_ref in action condition * remove refs prefix * fix vale action's condition
This commit is contained in:
12
.github/workflows/docs-test.yml
vendored
12
.github/workflows/docs-test.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
docs-test:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
run: yarn build:docs
|
||||
|
||||
vale-docs:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
@@ -73,7 +73,7 @@ jobs:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
|
||||
vale-ui:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
|
||||
vale-api:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
@@ -135,7 +135,7 @@ jobs:
|
||||
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
|
||||
|
||||
content-eslint:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
@@ -157,7 +157,7 @@ jobs:
|
||||
run: yarn lint:content
|
||||
|
||||
code-docs-eslint:
|
||||
if: ${{ startsWith(github.ref, 'docs/') }}
|
||||
if: ${{ startsWith(github.head_ref, 'docs/') }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Cancel Previous Runs
|
||||
|
||||
Reference in New Issue
Block a user