Skip to content

trigger

trigger #13

name: build-and-deploy-container
on:
push:
branches: [master]
jobs:
build:
permissions: write-all
runs-on: ubuntu-latest
steps:
- name: Check out
uses:
actions/checkout@v2
# ----------------Deploy Images----------------
- name: Pull container and restart compose
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
key: ${{ secrets.SSH_KEY }}
username: ${{ secrets.USERNAME }}
script: |
sh /home/tim/deploy_gallery.sh