Skip to content

Commit

Permalink
fix stack name deploy, remove on push/pr
Browse files Browse the repository at this point in the history
  • Loading branch information
fredvd committed Feb 23, 2024
1 parent 53f63c7 commit 6066e57
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ name: Build and Deploy demo.plone.org

on:
workflow_dispatch:
push:
paths:
- "backend/**"
- "frontend/**"
pull_request:
paths:
- "backend/**"
- "frontend/**"
schedule:
- cron: '0 */12 * * *'

Expand Down Expand Up @@ -301,9 +293,11 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: SEED=$GITHUB_RUN_ID
deploy:

deploy:
runs-on: ubuntu-latest
needs:
- release
environment: demo.plone.org
steps:
- name: Checkout
Expand All @@ -320,5 +314,5 @@ jobs:
remote_user: ${{ secrets.DEPLOY_USER }}
remote_private_key: ${{ secrets.DEPLOY_SSH }}
stack_file: "devops/stacks/demo.plone.org.yml"
stack_name: "demoploneorg"
stack_name: "demo-plone-org"
deploy_timeout: 480

0 comments on commit 6066e57

Please sign in to comment.