This repository has been archived by the owner on Oct 28, 2024. It is now read-only.
forked from openshift-cs/okd.io
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-do CI/CD flow to try and debug site builds
- Loading branch information
1 parent
d2c3e7d
commit 5ddb6e7
Showing
5 changed files
with
37 additions
and
43 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
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,34 @@ | ||
name: Build Check | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
env: | ||
TITLE: OKD.io | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v4 | ||
- name: Install dependencies (Python) | ||
run: pip install -r requirements.txt --break-system-packages | ||
- name: Install dependencies (Node) | ||
run: npm ci | ||
- name: Spellcheck | ||
run: ./node_modules/.bin/cspell "docs/**/*.md" | ||
- name: Build the site | ||
run: mkdocs build --force --clean --verbose | ||
- name: Check the site for broken links | ||
run: linkchecker -f linkcheckerrc public | ||
- name: Upload built site | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: okd.io | ||
path: public/ | ||
if-no-files-found: error |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ name: Publish | |
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
publish: | ||
|
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