Skip to content

Commit

Permalink
Merge pull request #20 from Franco-from-Owlish/refactoring
Browse files Browse the repository at this point in the history
Deploy trigger updated
  • Loading branch information
Franco-from-Owlish authored Mar 4, 2024
2 parents 79ff96d + 5018615 commit 7a76a7b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy

on:
pull_request:
types:
- closed
push:
branches:
- main
workflow_dispatch:

concurrency:
Expand All @@ -12,7 +12,6 @@ concurrency:

jobs:
build:
if: github.event.pull_request.merged == true && github.base_ref == 'main'
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -30,7 +29,6 @@ jobs:
uses: ./.github/actions/build

deploy:
if: github.event.pull_request.merged == true && github.base_ref == 'main'
needs: build

permissions:
Expand Down

0 comments on commit 7a76a7b

Please sign in to comment.