From 7039e4823912c49370e73f6d9486e33562cd751b Mon Sep 17 00:00:00 2001 From: Bruce Davie <3101026+drbruced12@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:31:55 +1100 Subject: [PATCH] add validation workflow --- .github/workflows/validate-docs.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/validate-docs.yaml diff --git a/.github/workflows/validate-docs.yaml b/.github/workflows/validate-docs.yaml new file mode 100644 index 0000000..8460a8d --- /dev/null +++ b/.github/workflows/validate-docs.yaml @@ -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 source + run: make test + - name: Build html + run: make html + - name: List built files + run: | + ls ${{ github.workspace }}/_build/html + + - run: echo "🍏 This job's status is ${{ job.status }}."