From 383bd434c2017ec678f946aa042d04c3642e1954 Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 18 Oct 2023 01:06:12 +0100 Subject: [PATCH] add action --- .gitea/workflows/deploy.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..744ce46 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: "deploy" + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - name: Cloning repo + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Push to dokku + uses: dokku/github-action@master + with: + git_remote_url: "ssh://dokku@10.0.3.39:22/scoresaber-reloaded" + ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}