Fixed deployment problems?
Some checks failed
Deploy on push / deploy-stack (push) Failing after 2s
Deploy on push / build-image (push) Failing after 27s

This commit is contained in:
Sven Heidemann 2023-11-27 18:03:39 +01:00
parent 76be6fe9b2
commit c2a116a859

View File

@ -6,7 +6,7 @@ on:
- master - master
jobs: jobs:
on-push-deploy_sh-edraft: build-image:
runs-on: [gismo.sh-edraft.de, ubuntu-latest] runs-on: [gismo.sh-edraft.de, ubuntu-latest]
container: catthehacker/ubuntu:act-latest container: catthehacker/ubuntu:act-latest
steps: steps:
@ -29,6 +29,10 @@ jobs:
chmod +x build chmod +x build
./build ./build
deploy-stack:
runs-on: [dobby.sh-edraft.de, ubuntu-latest]
container: catthehacker/ubuntu:act-latest
steps:
- name: Deploy Stack to sh-edraft.de - name: Deploy Stack to sh-edraft.de
uses: https://github.com/kgierke/portainer-stack-deployment@v1 uses: https://github.com/kgierke/portainer-stack-deployment@v1
with: with:
@ -38,4 +42,4 @@ jobs:
portainer-endpoint: 2 portainer-endpoint: 2
name: code name: code
file: docker-compose.yml file: docker-compose.yml
variables: '{}' variables: "{}"