Compare commits

...

2 Commits

Author SHA1 Message Date
Lewis Dale 6139172f59 Copy to prod
Build and copy to prod / build-and-copy (push) Failing after 34s Details
2024-05-05 19:50:51 +01:00
Lewis Dale 4d88c50a22 Install SSH keys 2024-05-05 19:50:45 +01:00
1 changed files with 8 additions and 1 deletions

View File

@ -12,4 +12,11 @@ jobs:
with:
go-version: 1.22
- name: Build binary
run: go build -o dist/oopsie
run: go build -o dist/oopsie
- name: Install SSH Key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Copy to prod
run: scp -rp dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/var/www/uptime.lewisdale.dev/