Skip to content

Commit

Permalink
fix_ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei Bondar committed Nov 6, 2024
1 parent f826cfb commit 0c2011f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 32 deletions.
46 changes: 15 additions & 31 deletions .github/workflows/update_qa_stand.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,37 +18,21 @@ jobs:
- name: Install modules
run: |
yarn install
# - name: List Markdown files
# run: |
# find docs/markdown_files -type f \( -name '*.md' -o -name '*.mdx' \) > files-to-check

- name: Check external links_new
uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'no'
use-verbose-mode: 'yes'
config-file: 'linkcheck.config.json'
file-extension: '.md*'
folder-path: 'docs'
# file-path: 'docs/*.md, docs/*.mdx'

- name: Check external links
run: |
find ./README.md ./docs/ -regex ".*.[md|mdx]" -print0 | xargs -0 -n1 \
./node_modules/markdown-link-check/bin/markdown-link-check --config linkcheck.config.json -v
# - name: Build
# run: |
# yarn clear
# yarn build
# - name: Deploy to s3
# uses: jakejarvis/s3-sync-action@master
# with:
# args: --acl public-read --delete
# env:
# AWS_S3_BUCKET: ${{secrets.QA_AWS_S3_BUCKET}}
# AWS_ACCESS_KEY_ID: ${{secrets.QA_AWS_ACCESS_KEY_ID}}
# AWS_SECRET_ACCESS_KEY: ${{secrets.QA_AWS_SECRET_ACCESS_KEY}}
# AWS_REGION: ${{secrets.QA_AWS_REGION}}
# SOURCE_DIR: "build"
./node_modules/markdown-link-check/markdown-link-check --config linkcheck.config.json -q
- name: Build
run: |
yarn clear
yarn build
- name: Deploy to s3
uses: jakejarvis/s3-sync-action@master
with:
args: --acl public-read --delete
env:
AWS_S3_BUCKET: ${{secrets.QA_AWS_S3_BUCKET}}
AWS_ACCESS_KEY_ID: ${{secrets.QA_AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.QA_AWS_SECRET_ACCESS_KEY}}
AWS_REGION: ${{secrets.QA_AWS_REGION}}
SOURCE_DIR: "build"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"clsx": "^2.1.0",
"docusaurus-json-schema-plugin": "^1.11.0",
"docusaurus-plugin-image-zoom": "^2.0.0",
"markdown-link-check": "^3.11.2",
"markdown-link-check": "3.12.2",
"neon-web-components": "^1.1.3",
"prism-react-renderer": "^2.3.1",
"raw-loader": "^4.0.2",
Expand Down

0 comments on commit 0c2011f

Please sign in to comment.