From 79b4bd03c766da7957463d7888c5fd7fa922fb37 Mon Sep 17 00:00:00 2001 From: Mikayla Dobson Date: Fri, 31 Oct 2025 11:18:18 -0500 Subject: [PATCH] corrections to branch/repository checkout logic --- .gitea/workflows/rooted/web.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/rooted/web.yaml b/.gitea/workflows/rooted/web.yaml index 11e1363..038bbd5 100644 --- a/.gitea/workflows/rooted/web.yaml +++ b/.gitea/workflows/rooted/web.yaml @@ -1,10 +1,9 @@ name: Rooted - Base Web Deployment inputs: - BRANCH: - description: "Branch to deploy for this job" - required: false - default: ${{ gitea.ref_name }} + REPOSITORY: + description: "The repository to checkout and build, in format `owner/repository`" + required: true MONGO_URI: description: "MongoDB URI to use for this instance" required: true @@ -16,6 +15,10 @@ inputs: description: "NextAuth secret to use for this instance" required: false default: ${{ secrets.NEXTAUTH_SECRET }} + BRANCH: + description: "Branch to deploy for this job" + required: false + default: ${{ gitea.ref_name }} env: MONGO_URI: $INPUT_MONGO_URI @@ -34,6 +37,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: + repository: $REPOSITORY ref: $BRANCH - name: Install Dependencies