Skip to content

Commit

Permalink
Install templ directly, shorten sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
nickclyde committed Sep 3, 2024
1 parent 75bedd9 commit 8e7244b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ jobs:
--source-address-prefixes $agentIP \
--destination-address-prefixes '*' \
--description "Allow SSH from GitHub Actions"
sleep 30
sleep 3
- name: Deploy phinvads-go to VM
env:
AZURE_VM_IP: ${{ secrets.AZURE_VM_IP }}
AZURE_VM_SSH_KEY: ${{ secrets.AZURE_VM_SSH_KEY }}
run: |
go mod tidy
go install github.com/a-h/templ/cmd/templ@latest
templ generate
go build -o phinvads-go ./cmd/phinvads-go
scp -i <(echo "$AZURE_VM_SSH_KEY") ./phinvads-go azureuser@${AZURE_VM_IP}:/home/azureuser/phinvads-go
Expand Down

0 comments on commit 8e7244b

Please sign in to comment.