Skip to content

Commit

Permalink
🔨 Update deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Feb 5, 2025
1 parent ee37c24 commit 435d89c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 435d89c

Please sign in to comment.