Skip to content

Merge pull request #6 from SlovakNationalGallery/NSNG-424-refactor-in… #4

Merge pull request #6 from SlovakNationalGallery/NSNG-424-refactor-in…

Merge pull request #6 from SlovakNationalGallery/NSNG-424-refactor-in… #4

Workflow file for this run

name: Deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Copy files via SSH
uses: appleboy/[email protected]
with:
host: webumenia.sk
username: lab_sng
key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
source: dist/*
strip_components: 2
target: /var/www/new.atlas.sng.sk