diff --git a/.github/workflows/deploy-prod-and-test.yml b/.github/workflows/partitellebot-deploy.yml similarity index 94% rename from .github/workflows/deploy-prod-and-test.yml rename to .github/workflows/partitellebot-deploy.yml index 34e6bfd..e687436 100644 --- a/.github/workflows/deploy-prod-and-test.yml +++ b/.github/workflows/partitellebot-deploy.yml @@ -1,4 +1,4 @@ -name: PartitelleBot + PartitelleBotTest +name: PartitelleBot on: push: diff --git a/.github/workflows/deploy-test.yml b/.github/workflows/partitellebottest-deploy.yml similarity index 74% rename from .github/workflows/deploy-test.yml rename to .github/workflows/partitellebottest-deploy.yml index 54a5b1e..16e4b35 100644 --- a/.github/workflows/deploy-test.yml +++ b/.github/workflows/partitellebottest-deploy.yml @@ -1,6 +1,9 @@ name: PartitelleBotTest on: + push: + branches: + - main pull_request: branches: - main @@ -8,7 +11,7 @@ on: jobs: deploy: - if: ${{ contains(github.event.pull_request.labels.*.name, 'deploy-partitellebot-test') }} + if: ${{ github.event_name == 'push' || contains(github.event.pull_request.labels.*.name, 'deploy-partitellebot-test') }} runs-on: ubuntu-latest steps: - name: Deploy to PartitelleBotTest