-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from merative/Release-July-2024
Tuning guide update July 2024
- Loading branch information
Showing
52 changed files
with
17,349 additions
and
37,729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
name: CI | ||
|
||
# Controls when the workflow will run | ||
on: | ||
push: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
build-runbook: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
env: | ||
SITE_PREFIX: /curam-performance-tuning/ | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: 3.x | ||
|
||
- name: Prepare environment | ||
run: | | ||
node --version | ||
npm install -g markdownlint-cli | ||
npm install --legacy-peer-deps | ||
#npm ci | ||
pip install --user linkchecker | ||
- name: Build docs | ||
run: | | ||
markdownlint **/*.mdx | ||
npm run build | ||
- name: Validate docs | ||
run: | | ||
docker run --rm -d --name gatsby -p 8888:80 -v $(pwd)/public:/usr/local/apache2/htdocs$SITE_PREFIX httpd:2.4 | ||
linkchecker http://$(hostname -f):8888$SITE_PREFIX --config=./linkcheckerrc | ||
- name: Deploy Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
github_token: ${{ secrets.PERF_GIT_DEPLOY_GH_PAGES_TOKEN }} | ||
publish_dir: ./public | ||
publish_branch: gh-pages | ||
force_orphan: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.