Skip to content

Update scala/sbt versions #96

Update scala/sbt versions

Update scala/sbt versions #96

Workflow file for this run

name: Build & Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@master
- name: Build Image & Push to DockerHub
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: andrewts129/andrewsmithdotio
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: Update Application on Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
script: ./update-webapp.sh