From ab95838f54d72470f859fe21679c6107bacd4c21 Mon Sep 17 00:00:00 2001 From: Skylar Pape <11418651+skylarpape@users.noreply.github.com> Date: Sun, 11 Feb 2024 16:34:39 -0500 Subject: [PATCH] Uploads artifact to subdir for brnch and prints deployment url --- .github/workflows/dev-deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/dev-deploy.yaml b/.github/workflows/dev-deploy.yaml index 3504966..42690ac 100644 --- a/.github/workflows/dev-deploy.yaml +++ b/.github/workflows/dev-deploy.yaml @@ -18,14 +18,14 @@ jobs: - name: Build uses: actions/jekyll-build-pages@v1 with: - destination: "./_dev" + destination: "./_dev/${{ github.ref_name }}" - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: - path: "./_dev" + path: "./_dev/${{ github.ref_name }}" - name: Extract branch name shell: bash - run: echo "${{ github.ref_name }}" + run: echo "${{ steps.deployment.outputs.page_url }}" id: test deploy: runs-on: ubuntu-latest