From 11a355684f85d5e2b9d6c1d5b767c857d711048a Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 28 Sep 2024 15:36:43 -0700 Subject: [PATCH] Using secrets username --- .gitea/workflows/build-and-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index 1d6ec22..a2f92f6 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -18,7 +18,7 @@ jobs: uses: tempersama/rsync-copy@2.5 with: host: shockrah.xyz - username: nginx + username: ${{ secrets.USER }} source: "public/" destination: /opt/nginx/test.shockrah.xyz key: ${{ secrets.PRIVATE_KEY }}