From 323f337bd307188a08d1419ac0ceef0102264266 Mon Sep 17 00:00:00 2001 From: Mark Meredith Date: Mon, 7 Dec 2020 16:15:26 -0500 Subject: [PATCH] Deploy to Github Pages --- .github/workflows/build.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9e8f1f4..89b33ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,13 +6,16 @@ on: push jobs: # Set the job key. The key is displayed as the job name # when a job name is not provided - super-lint: + publish: # Name the Job name: Build Sphinx manual HTML target # Set the type of machine to run on runs-on: ubuntu-latest steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Install Doxygen run: sudo apt install doxygen @@ -27,3 +30,12 @@ jobs: env: DEFAULT_BRANCH: main GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} + + - name: Deploy to GitHub Pages + if: success() + uses: crazy-max/ghaction-github-pages@v2 + with: + target_branch: gh-pages + build_dir: public + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- GitLab