-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
260c520
commit d1ce8a8
Showing
2 changed files
with
26 additions
and
1 deletion.
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,21 @@ | ||
name: Validate Docs Workflow | ||
run-name: ${{ github.actor }} is validating document source | ||
on: [pull_request, workflow_dispatch] | ||
jobs: | ||
Validate_Docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: echo "π The job was automatically triggered by a ${{ github.event_name }} event." | ||
- run: echo "π§ This job is now running on a ${{ runner.os }} server hosted by GitHub!" | ||
- run: echo "π The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repo | ||
uses: actions/checkout@v4 | ||
- name: Validate reST source | ||
run: make test | ||
- name: Build docs | ||
run: make html | ||
- name: List built files | ||
run: | | ||
ls ${{ github.workspace }}/_build/html | ||
- run: echo "π This job's status is ${{ job.status }}." |