Compare commits

..

No commits in common. "58ea00f9a49df3e2fbd7c3c9c6196760bca1ea01" and "3c8bceea33d05676f6ff888fcc81c766a9cd090d" have entirely different histories.

View file

@ -15,8 +15,6 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '^1.25.1'
- name: Run tests
run: go test -v ./model
@ -34,12 +32,11 @@ jobs:
- name: Copy to production server
run: |
mkdir -p ~/.ssh/
export REMOTE=${{ secrets.SSH_USER }}@{{ secrets.SSH_HOST }}
export PORT=${{ secrets.SSH_PORT }}
echo "${{ secrets.SSH_PRIVATE_KEY }}" >
scp -P ${{ secrets.SSH_PORT }} ./$EXEC.tar.gz $REMOTE:~/
- name: Restart production
ssh -o StrictHostKeyChecking=no $REMOTE -p $PORT << EOF
cd ${{ secrets.DEPLOY_DIR }}
tar xzf ~/$EXEC.tar.gz"