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