Skip to content

Update node version #14

Update node version

Update node version #14

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
deploy:
name: Deploy to server
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Deploy to Server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
password: ${{ secrets.REMOTE_PASSWORD }}
source: "*,!.git,!.github"
target: /var/www/overtour-frontend
- name: Rebuild container
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.REMOTE_HOST }}
username: ${{ secrets.REMOTE_USER }}
password: ${{ secrets.REMOTE_PASSWORD }}
script: |
cd /var/www/overtour-frontend
docker-compose up -d --build