Skip to content

ci: bump appleboy/ssh-action from 1.0.1 to 1.0.3 (#362) #135

ci: bump appleboy/ssh-action from 1.0.1 to 1.0.3 (#362)

ci: bump appleboy/ssh-action from 1.0.1 to 1.0.3 (#362) #135

Workflow file for this run

name: Deploy website
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Upload website to interop.seemann.io
uses: burnett01/rsync-deployments@c04732dab25a8b2c000b7198a067bf26e93959e2 # v6.0.0
with:
switches: -avzr --delete
path: web/
remote_path: ${{ secrets.INTEROP_SEEMANN_IO_WEBSITE_DIR }}
remote_host: interop.seemann.io
remote_user: ${{ secrets.INTEROP_SEEMANN_IO_USER }}
remote_key: ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
- name: Restart server
uses: appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3
with:
host: interop.seemann.io
username: ${{ secrets.INTEROP_SEEMANN_IO_USER }}
key: ${{ secrets.INTEROP_SEEMANN_IO_SSH_KEY }}
script: service website restart