gitea actions for services

This commit is contained in:
2024-08-26 20:14:59 +01:00
parent 327f0c1626
commit bd335cb275
4 changed files with 30 additions and 7 deletions

View File

@@ -1,9 +1,8 @@
name: Manual Trigger Workflow name: deploy host
on: [push]
# configure manual trigger paths_ignore:
on: - services/**
workflow_dispatch: - docs/**
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -0,0 +1,11 @@
name: Portainer stack nginx
on: [push]
paths:
- services/nginx/**
jobs:
deploy:
runs-on: "homesrv01"
steps:
- name: Portainer stack nginx webhook
run: |
curl -X POST "${{secrets.PORTAINER_NGINX_WEBHOOK_URL}}"

View File

@@ -0,0 +1,11 @@
name: Portainer stack wyoming
on: [push]
paths:
- services/wyoming/**
jobs:
deploy:
runs-on: "homesrv01"
steps:
- name: Portainer stack wyoming webhook
run: |
curl -X POST "${{secrets.PORTAINER_WYOMING_WEBHOOK_URL}}"

View File

@@ -1,5 +1,7 @@
name: deploy name: Portainer stack zigbee2mqtt
on: [push] on: [push]
paths:
- services/zigbee2mqtt/**
jobs: jobs:
deploy: deploy:
runs-on: "homesrv01" runs-on: "homesrv01"