From 0f691e83e303575e2d575df111718cf800629ddf Mon Sep 17 00:00:00 2001 From: Joris Slagter Date: Tue, 2 Dec 2025 16:40:37 +0100 Subject: [PATCH] Add GITEA_TOKEN support for HTTPS deployment --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 75e6812..c6fee8f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,8 +37,14 @@ steps: key: from_secret: ssh_private_key port: 22 + envs: + - GITEA_TOKEN script: + - export GITEA_TOKEN=$GITEA_TOKEN - /opt/deploy-scripts/deploy-nuxt.sh staging main + environment: + GITEA_TOKEN: + from_secret: gitea_token # Step 4: Deploy to production (manual trigger only) - name: deploy-production @@ -57,8 +63,14 @@ steps: key: from_secret: ssh_private_key port: 22 + envs: + - GITEA_TOKEN script: + - export GITEA_TOKEN=$GITEA_TOKEN - /opt/deploy-scripts/deploy-nuxt.sh production main + environment: + GITEA_TOKEN: + from_secret: gitea_token # Step 5: Notification - name: notify