From 063d9afbfa7d6f4c3efbae9f111da2d5d4f88100 Mon Sep 17 00:00:00 2001 From: Samy Ouyahia Date: Wed, 20 Mar 2024 16:36:53 +0100 Subject: [PATCH] Trying stuff out to fix the documentation deployement pipeline --- .github/workflows/deploy-documentation.yml | 24 +++++----------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index 5e38e2c4d..4064b5606 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -6,8 +6,8 @@ on: branches: [main] jobs: - build: - name: Build + build-deploy: + name: Build & Deploy runs-on: ubuntu-latest permissions: actions: read @@ -21,25 +21,11 @@ jobs: uses: ./.github/actions/monkjs-set-up - name: 📚 Building the documentation run: yarn build:documentation + - name: 📃 Setting Up GitHub Pages + uses: actions/configure-pages@v4.0.0 - name: 📦 Uploading the artifact - uses: actions/upload-artifact@v4.3.1 + uses: actions/upload-pages-artifact@v3.0.1 with: - name: build-documentation path: documentation/build - - deploy: - name: Deploy - needs: - - build - permissions: - pages: write - id-token: write - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - steps: - name: 🌐 Deploying the documentation uses: actions/deploy-pages@v4.0.5 - with: - artifact_name: build-documentation