update s2n-quic image to GitHub Container Repository (#377) #151
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: Deploy website | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Upload website to interop.seemann.io | |
uses: burnett01/rsync-deployments@e1c5b900e976bbc2a6aadf7fd85d7bef67ede4f1 # v7.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 |