Skip to content

Tiny fix

Tiny fix #25

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
ssh:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Connect server and release
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > private_key.pem
chmod 600 private_key.pem
ssh -i private_key.pem -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -T ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }} "\
echo "Logged in to server"; \
sh /usr/local/src/scripts/for.release.sh"