From af1f91e3eada64d4de55aad56f7f42be8e022d28 Mon Sep 17 00:00:00 2001 From: fac3m4n Date: Sun, 14 Apr 2024 10:07:50 +0300 Subject: [PATCH] adding github actions --- .github/workflows/deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..47fb60f --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: genezio workflow +on: + push: + branches: + - main + +jobs: + deploy-backend: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + - uses: Genez-io/genezio-github-action@v1 + with: + token: ${{ secrets.GENEZIO_TOKEN }} + - name: Deploy backend + working-directory: ./server + run: genezio deploy