Skip to content

Update CI scripts

Update CI scripts #515

Workflow file for this run

name: Deploy workflow
on: [push]
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/build
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Deploy
run: |
rsync tophat [email protected]:www/tophat-web/dl/tophat-linux
rsync tophat.exe [email protected]:www/tophat-web/dl/tophat-windows.exe
- name: On push script
run: ssh [email protected] /home/marek/on-tophat-push