From 6f00b3e76d2c503665f771c58ee3fcba9c8b2793 Mon Sep 17 00:00:00 2001 From: Mikayla Dobson Date: Fri, 31 Oct 2025 12:28:34 -0500 Subject: [PATCH] use dynamic variables from actions --- .gitea/workflows/rooted/web/build/action.yaml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/rooted/web/build/action.yaml b/.gitea/workflows/rooted/web/build/action.yaml index fc71418..439623a 100644 --- a/.gitea/workflows/rooted/web/build/action.yaml +++ b/.gitea/workflows/rooted/web/build/action.yaml @@ -24,24 +24,15 @@ inputs: required: false default: "https://gitea.lab.mikayla.dev" -env: - MONGO_URI: $INPUT_MONGO_URI - DB_NAME: $INPUT_DB_NAME - GITHUB_SERVER_URL: $INPUT_GITHUB_SERVER_URL - REPOSITORY: $INPUT_REPOSITORY - GCP_CLIENT_ID: ${{ secrets.GCP_CLIENT_ID }} - GCP_CLIENT_SECRET: ${{ secrets.GCP_CLIENT_SECRET }} - NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }} - runs: using: "composite" steps: - name: Checkout uses: actions/checkout@v4 with: - github-server-url: $GITHUB_SERVER_URL - repository: $INPUT_REPOSITORY - ref: $INPUT_BRANCH + github-server-url: ${{ gitea.event.inputs.github-server-url }} + repository: ${{ gitea.event.inputs.repository }} + ref: ${{ gitea.event.inputs.branch }} - name: Install Dependencies run: |