From 8432ab69871fce900a3bead89b3baa4f89670d64 Mon Sep 17 00:00:00 2001 From: mac Date: Tue, 8 Oct 2024 04:19:46 +0200 Subject: [PATCH] prodify --- .github/workflows/azure-gramine-deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/azure-gramine-deploy.yml b/.github/workflows/azure-gramine-deploy.yml index e33cce2fe..5fe698fe6 100644 --- a/.github/workflows/azure-gramine-deploy.yml +++ b/.github/workflows/azure-gramine-deploy.yml @@ -76,18 +76,18 @@ jobs: - name: Deploy updated Caddyfile to server uses: appleboy/scp-action@v0.1.7 with: - host: ${{ secrets.AZURE_TEE_BUILD_HOST }} - username: ${{ secrets.AZURE_BUILD_TEE_USERNAME }} - key: ${{ secrets.AZURE_TEE_BUILD_KEY }} + host: ${{ secrets.AZURE_TEE_PROD_HOST }} + username: ${{ secrets.AZURE_PROD_TEE_USERNAME }} + key: ${{ secrets.AZURE_TEE_PROD_KEY }} source: "cd-scripts/tee/azure/Caddyfile" target: "~/" - name: Reload Caddy on server uses: appleboy/ssh-action@v1.0.3 with: - host: ${{ secrets.AZURE_TEE_BUILD_HOST }} - username: ${{ secrets.AZURE_BUILD_TEE_USERNAME }} - key: ${{ secrets.AZURE_TEE_BUILD_KEY }} + host: ${{ secrets.AZURE_TEE_PROD_HOST }} + username: ${{ secrets.AZURE_PROD_TEE_USERNAME }} + key: ${{ secrets.AZURE_TEE_PROD_KEY }} script: | sudo cp ~/cd-scripts/tee/azure/Caddyfile /etc/caddy/Caddyfile sudo systemctl reload caddy