Skip to content

Commit 29c8a4a

Browse files
committed
Updated: Test Script and Example
1 parent fd21668 commit 29c8a4a

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

.github/workflows/test-mkdocs-workflow.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,23 @@ on:
44
schedule:
55
- cron: '0 0 * * 0' # Run every Sunday at midnight
66
workflow_dispatch:
7+
push:
8+
branches: [ master ]
9+
paths:
10+
- 'action.yml'
11+
pull_request:
12+
branches: [ master ]
13+
paths:
14+
- 'action.yml'
715

816
jobs:
917
test:
1018
runs-on: ubuntu-latest
19+
permissions:
20+
contents: read
21+
pages: write
22+
id-token: write
23+
1124
steps:
1225
- name: Checkout Test Repository
1326
uses: actions/checkout@v4

README.MD

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,11 @@ jobs:
4141
id-token: write
4242
steps:
4343
- name: Deploy MkDocs
44-
uses: Reloaded-Project/reloaded-project-configurations-rust/.github/actions/deploy-mkdocs-documentation@v1
44+
uses: Reloaded-Project/devops-mkdocs@v1
4545
with:
4646
REQUIREMENTS: ./docs/requirements.txt
4747
PUBLISH_TO_PAGES: true
48-
CHECKOUT: true
49-
PRE_BUILD_SCRIPT: ./scripts/pre-build.sh
50-
PRE_BUILD_SHELL: bash
48+
CHECKOUT_CURRENT_REPO: true # Checks out by default.
5149
```
5250
5351
## Setup

0 commit comments

Comments
 (0)