Compare commits

...

2 Commits

Author SHA1 Message Date
Lewis Dale
6139172f59 Copy to prod
Some checks failed
Build and copy to prod / build-and-copy (push) Failing after 34s
2024-05-05 19:50:51 +01:00
Lewis Dale
4d88c50a22 Install SSH keys 2024-05-05 19:50:45 +01:00

View File

@ -13,3 +13,10 @@ jobs:
go-version: 1.22 go-version: 1.22
- name: Build binary - 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/