From d44acb70e878ac9b68e7288662e3dd8b92fe5fd1 Mon Sep 17 00:00:00 2001 From: Ryan Gregory Date: Sun, 7 Jan 2024 21:49:03 -0500 Subject: [PATCH] Update github-pages-deploy.yml --- .github/workflows/github-pages-deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-pages-deploy.yml b/.github/workflows/github-pages-deploy.yml index 47cf56c..077a7f4 100644 --- a/.github/workflows/github-pages-deploy.yml +++ b/.github/workflows/github-pages-deploy.yml @@ -6,7 +6,7 @@ on: # Runs on pushes targeting the `main` branch. Change this to `master` if you're # using the `master` branch as the default branch. push: - branches: [main] + branches: [docs] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -23,6 +23,10 @@ concurrency: group: pages cancel-in-progress: false +defaults: + run: + working-directory: ./app + jobs: # Build job build: @@ -31,6 +35,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 with: + ref: docs fetch-depth: 0 # Not needed if lastUpdated is not enabled # - uses: pnpm/action-setup@v2 # Uncomment this if you're using pnpm # - uses: oven-sh/setup-bun@v1 # Uncomment this if you're using Bun