From 1851cbc1ff86bde9dd8e6dc5046bf6156599f9d4 Mon Sep 17 00:00:00 2001 From: Simeon Ehrig Date: Tue, 12 Nov 2024 15:43:32 +0100 Subject: [PATCH] use QED build and deploy docs GitHub Action --- .github/workflows/BuildDeployDoc.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/BuildDeployDoc.yml b/.github/workflows/BuildDeployDoc.yml index 30eb826..5845d75 100644 --- a/.github/workflows/BuildDeployDoc.yml +++ b/.github/workflows/BuildDeployDoc.yml @@ -1,4 +1,4 @@ -name: Build and Deploy Documentation +name: Build and deploy documentation on: push: @@ -15,22 +15,6 @@ jobs: statuses: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: QEDjl-project/gh-actions/build-docs@v1 with: - version: '1.10' - - name: clone integration test tools - run: | - git clone --depth 1 -b dev https://github.com/QEDjl-project/QuantumElectrodynamics.jl.git /tmp/integration_test_tools/ - - name: set dev dependencies - run: | - $(julia --project=. /tmp/integration_test_tools/.ci/CI/src/GetProjectNameVersionPath.jl) - echo "CI_DEV_PKG_NAME -> $CI_DEV_PKG_NAME" - echo "CI_DEV_PKG_VERSION -> $CI_DEV_PKG_VERSION" - echo "CI_DEV_PKG_PATH -> $CI_DEV_PKG_PATH" - julia --project=docs/ /tmp/integration_test_tools/.ci/CI/src/SetupDevEnv.jl - julia --project=docs/ -e 'import Pkg; Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: julia --project=docs/ docs/make.jl + github-token: ${{ secrets.GITHUB_TOKEN }}