refactor display-model #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy GMR MASTER | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
web-deploy: | |
name: π Deploy Website GMR Master | |
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-gmr | |
- name: π Sync Files | |
uses: SamKirkland/web-deploy@v1 | |
with: | |
target-server: ${{ secrets.FTP_SERVER }} | |
remote-user: ${{ secrets.SSH_USERNAME_GULASCH }} | |
private-ssh-key: ${{ secrets.SSH_KEY_GULASCH }} | |
source-path: ./dist/mkjAPP/browser/ | |
destination-path: ~/app.gulaschmusi.at/ |