Skip to content

Commit 4e05e80

Browse files
authored
Create validate-docs.yaml
Workflow to validate PRs build correctly
1 parent 3da1396 commit 4e05e80

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Validate Docs Workflow
2+
run-name: ${{ github.actor }} is validating document source
3+
on: [pull_request, workflow_dispatch]
4+
jobs:
5+
Validate_Docs:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
9+
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
10+
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
11+
- name: Check out repo
12+
uses: actions/checkout@v4
13+
- name: Validate source
14+
run: make test
15+
- name: Build html
16+
run: make html
17+
- name: List built files
18+
run: |
19+
ls ${{ github.workspace }}/_build/html
20+
21+
- run: echo "🍏 This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)