Skip to content

docs(filebrowser): switch image to latest official image #35

docs(filebrowser): switch image to latest official image

docs(filebrowser): switch image to latest official image #35

name: Cloud Build & Deploy
on:
push:
branches: [main]
jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Deploy Stack
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE }}
port: ${{ secrets.SSH_PORT }}
script: |
cd ${{ secrets.FOLDER_PATH }}
git fetch
git checkout origin/main
docker compose build --no-cache
docker compose up -d --build --remove-orphans