ci: add testing deployment workflow

This commit is contained in:
notohh 2023-10-20 19:30:57 -04:00
parent 37a4469a51
commit 6049d09d6a
Signed by: notohh
GPG key ID: BD47506D475EE86D

View file

@ -0,0 +1,15 @@
name: deploy systems
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: install nix action
uses: https://github.com/DeterminateSystems/nix-installer-action@v5
with:
github-token: ${{ secrets.GH_TOKEN }}
- name: deploy
use: |
ssh -i ${secrets.TSURU_SSH_KEY} root@100.82.146.40 'uname -a'