From 435d89c7e72c606797f86f8882c2c3f67ad37da8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 5 Feb 2025 23:00:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20Update=20deployment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index c05d343..44b5541 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,21 +9,24 @@ on: tags: - '*' + # Allows to run this workflow manually from the Actions tab + workflow_dispatch: + jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Use Node.js 20 - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: 20.x - name: Build app run: | - npm i - npm build + npm ci + npm run build - name: Push Build files to production - uses: burnett01/rsync-deployments@5.2 + uses: burnett01/rsync-deployments@7.0.1 with: switches: -avzr --delete path: dist/