Skip to content

Commit 5c09946

Browse files
committed
slight changes
1 parent f87672b commit 5c09946

File tree

5 files changed

+63
-43
lines changed

5 files changed

+63
-43
lines changed

.github/.workflows/pages.yml

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
name: Build & Deploy Docusaurus (GitHub Pages)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write # required for actions/deploy-pages
11+
id-token: write # required for OIDC auth to Pages
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
name: Build site
20+
runs-on: ubuntu-latest
21+
defaults:
22+
run:
23+
working-directory: ./website
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
30+
- name: Use Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 22
34+
cache: yarn
35+
cache-dependency-path: website/yarn.lock
36+
37+
- name: Install deps
38+
run: yarn install --frozen-lockfile
39+
40+
- name: Build
41+
run: yarn build
42+
43+
# Package the static output for Pages
44+
- name: Upload Pages artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
path: ./website/build
48+
49+
deploy:
50+
name: Deploy to GitHub Pages
51+
needs: build
52+
runs-on: ubuntu-latest
53+
environment:
54+
name: github-pages
55+
url: ${{ steps.deployment.outputs.page_url }}
56+
steps:
57+
- name: Deploy
58+
id: deployment
59+
uses: actions/deploy-pages@v4

.github/workflows/main.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,4 @@ __pycache__
44
results
55

66
.vscode
7-
.devcontainer
8-
9-
website/robotframework-RFCP-syllabus/
7+
.devcontainer

website/docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ const config = {
1010
tagline: 'The foundation for the "Robot Framework® Certified Professional" (RFCP®) exam and training',
1111
url: 'https://robotframework.org',
1212
baseUrl: '/robotframework-RFCP-syllabus/',
13-
onBrokenLinks: 'warn',
13+
onBrokenLinks: 'throw',
1414
markdown: {
1515
hooks: {
16-
onBrokenMarkdownLinks: 'warn',
16+
onBrokenMarkdownLinks: 'throw',
1717
},
1818
},
1919
favicon: 'img/rf_favicon.png',

website/src/components/Quiz/quizComponents.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* This file is automatically generated and will be overridden when running the build process.
3-
* Generated on: 11/1/2025, 10:45:45 PM
3+
* Generated on: 11/1/2025, 11:13:28 PM
44
*/
55

66
export interface QuizPage {

0 commit comments

Comments
 (0)