Skip to content

Commit

Permalink
prodify
Browse files Browse the repository at this point in the history
  • Loading branch information
maceip authored Oct 8, 2024
1 parent 974ca6d commit 8432ab6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/azure-gramine-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ jobs:
- name: Deploy updated Caddyfile to server
uses: appleboy/[email protected]
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/[email protected]
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
Expand Down

0 comments on commit 8432ab6

Please sign in to comment.