From 6049d09d6a374ce0c33fd6d28ecce8c78e3b6a2c Mon Sep 17 00:00:00 2001 From: notohh Date: Fri, 20 Oct 2023 19:30:57 -0400 Subject: [PATCH] ci: add testing deployment workflow --- .forgejo/workflows/deployment/deploy.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .forgejo/workflows/deployment/deploy.yml diff --git a/.forgejo/workflows/deployment/deploy.yml b/.forgejo/workflows/deployment/deploy.yml new file mode 100644 index 0000000..4770825 --- /dev/null +++ b/.forgejo/workflows/deployment/deploy.yml @@ -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' \ No newline at end of file