Skip to content

refactoring

refactoring #16

name: Build and Deploy MKJ TEST
on:
push:
branches:
- dev
jobs:
web-deploy:
name: πŸš€ Deploy Website MKJ Test
runs-on: ubuntu-latest
steps:
- name: 🚚 Get Latest Code
uses: actions/checkout@v3
- name: πŸ“¦ Install Packages
uses: actions/setup-node@v3
with:
node-version: 20
cache: "npm"
- name: Install dependencies
run: npm ci
- name: πŸ”¨ Build
run: npm run build-test
- name: πŸ“‚ Sync Files
uses: SamKirkland/web-deploy@v1
with:
target-server: ${{ secrets.FTP_SERVER }}
remote-user: ${{ secrets.SSH_USERNAME_MKJ }}
private-ssh-key: ${{ secrets.SSH_KEY_MKJ }}
source-path: ./dist/mkjAPP/
destination-path: ~/test.mk-jainzen.at/
rsync-options: --archive