Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/Gsvd/gsvd.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Gsvd committed Oct 23, 2024
2 parents 5f91eca + ae846d3 commit 0453589
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22
go-version: 1.23

- name: Set up SSH
run: |
Expand All @@ -39,10 +39,10 @@ jobs:
chmod 600 ~/.ssh/id_rsa
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
- name: Compile for Raspberry Pi
- name: Compiling
run: GOOS=linux GOARCH=amd64 go build -o ./cmd/gsvd.dev/tmp/main ./cmd/gsvd.dev

- name: Deploy to Raspberry Pi
- name: Deploying
run: |
ssh [email protected] 'sudo systemctl stop gsvd.dev.service'
scp ./cmd/gsvd.dev/tmp/main [email protected]:/home/deployer/gsvd.dev
Expand Down

0 comments on commit 0453589

Please sign in to comment.