From 1d787c6f11cbc54cd09479268929d9559888f534 Mon Sep 17 00:00:00 2001 From: DorianNiemiecSVRJS Date: Fri, 8 Nov 2024 12:09:48 +0100 Subject: [PATCH] ci: create a deployment workflow --- .forgejo/workflows/deploy.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .forgejo/workflows/deploy.yaml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml new file mode 100644 index 0000000..0f26cd3 --- /dev/null +++ b/.forgejo/workflows/deploy.yaml @@ -0,0 +1,13 @@ +name: Deploy Next.js application +on: [push] +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Deploy Next.js application + uses: https://github.com/appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + script: deploy-next-app \ No newline at end of file