From 38fbc5f201d8973195fed7d80c32889e59636974 Mon Sep 17 00:00:00 2001 From: Volker Kerkhoff <143070075+epam-vkerkhoff@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:51:58 +0200 Subject: [PATCH] Create deploy.yml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Deployment-automatisierung für Matomo --- .github/workflows/deploy.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..eda34ea --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,18 @@ +name: Docker Image CI + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + deploy: + runs-on: [self-hosted, deploy] + needs: build-and-push-image + steps: + - uses: actions/checkout@v2 + - name: Deploy Stack + run: | + sleep 60 + docker stack deploy --compose-file docker-compose.yml bbnavi-matomo