From 72a2a3dd16eeb7a5dcce05fa7da72e5de84b9ef2 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 29 Feb 2024 14:12:24 +0000 Subject: [PATCH] add workflow for GitHub Actions to deploy docs --- .github/workflows/document-EpiAware.yaml | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/document-EpiAware.yaml diff --git a/.github/workflows/document-EpiAware.yaml b/.github/workflows/document-EpiAware.yaml new file mode 100644 index 000000000..0442c7183 --- /dev/null +++ b/.github/workflows/document-EpiAware.yaml @@ -0,0 +1,30 @@ +name: Documenter +on: + push: + branches: [main, master] + tags: [v*] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + Documenter: + permissions: + contents: write + statuses: write + name: Documentation + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + sparse-checkout: EpiAware + sparse-checkout-cone-mode: false + - name: Move EpiAware to root + run: mv EpiAware/* + - uses: julia-actions/cache@v1 + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-docdeploy@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}