From 445e39183b683444842c72fff676c9754e944dea Mon Sep 17 00:00:00 2001 From: Linus Maximilian Nilson Date: Fri, 30 Jan 2026 17:16:04 +0000 Subject: [PATCH] revert 76490ef016ed21493c3a531ea81753c0ca7d7819 revert Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3007c78..95081c1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,14 +1,20 @@ +name: Deploy Workshop-Wahlen (DEV / PROD) + +on: + push: + branches: + - develop + - main + jobs: deploy: runs-on: ubuntu-latest - container: - image: docker.gitea.com/runner-images:ubuntu-latest - steps: - name: Checkout Repository uses: actions/checkout@v4 + # DEV - name: Deploy to DEV if: github.ref == 'refs/heads/develop' uses: appleboy/scp-action@v0.1.7 @@ -25,6 +31,7 @@ jobs: target: "/dev.konfi-castle.com/wp-content/plugins/konficastle-workshopwahl/" rm: true + # PROD - name: Deploy to PROD if: github.ref == 'refs/heads/main' uses: appleboy/scp-action@v0.1.7