diff --git a/.github/workflows/update-server.yml b/.github/workflows/update-server.yml index 64c8bef..537d124 100644 --- a/.github/workflows/update-server.yml +++ b/.github/workflows/update-server.yml @@ -2,7 +2,23 @@ name: update neo with compose files run-name: update on ${{ github.sha }} on: [push] jobs: + validate: + runs-on: ubuntu-latest + steps: + - name: install docker-compose + run: | + apt update -y + apt install docker-compose + - name: check docker-compose + run: | + cd ${{ github.workspace }} + DC_ARGS="" + for $f in docker-compose.*.yml; do + DC_ARGS="-f $f" + done + docker-compose $DC_ARGS config update: + needs: [validate] runs-on: ubuntu-latest steps: - name: setup ssh