Skip to content

Commit

Permalink
pub master & validate PR
Browse files Browse the repository at this point in the history
  • Loading branch information
llpeterson committed Feb 9, 2024
1 parent 260c520 commit d1ce8a8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Publish Docs Workflow
run-name: ${{ github.actor }} is publishing document artifacts πŸš€
on: [push, workflow_dispatch]
on:
push:
branches:
- master

jobs:
Publish_Docs:
runs-on: ubuntu-latest
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/validate-docs.yml
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 }}."

0 comments on commit d1ce8a8

Please sign in to comment.