From 4e219790ad9154fd56fb3f278b23284b96af787e Mon Sep 17 00:00:00 2001 From: Carlos Santiago <5726971+csantiago132@users.noreply.github.com> Date: Sat, 28 Sep 2024 19:52:01 -0500 Subject: [PATCH] fix(docs): fixes pipeline for Writerside --- .github/workflows/build_docs.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index b7292be..f505837 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -2,8 +2,8 @@ name: Build and Deploy Writerside Documentation on: push: - branches: ['main'] - workflow_dispatch: + branches: ['main'] # Trigger the workflow when changes are pushed to the 'main' branch + workflow_dispatch: # Allow manual triggering of the workflow permissions: id-token: write @@ -30,8 +30,7 @@ jobs: instance: ${{ env.INSTANCE }} artifact: ${{ env.ARTIFACT }} docker-version: ${{ env.DOCKER_VERSION }} - # Update to reflect the path of your Writerside directory inside the app - path: Writerside + path: Writerside # Specify the directory for Writerside docs - name: Upload artifact uses: actions/upload-artifact@v4 @@ -44,7 +43,6 @@ jobs: deploy: environment: name: github-pages - url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest @@ -68,3 +66,6 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4.0.4 + + - name: Print GitHub Pages URL + run: echo "Your site is deployed at ${{ steps.deployment.outputs.page_url }}"