From 6be20c1f3fffaf3052dbbeefc66eb76c3c0484f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Du=C5=A1a?= Date: Wed, 11 Mar 2026 07:31:53 +0100 Subject: [PATCH] Add Gitea Actions deploy workflow --- .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..7106a36 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,21 @@ +name: Deploy + +on: + push: + branches: [production] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 22 + + - run: npm ci + - run: npm run build + + - name: Deploy + run: rsync -a --delete dist/ /var/www/dusa.cz/