Skip to content

Commit

Permalink
Deploy only on tags/releases and if build is succed
Browse files Browse the repository at this point in the history
  • Loading branch information
HubLot committed Oct 30, 2024
1 parent 52e7a1d commit bf9f941
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Deploy BioSpring

# Restrict deploy only on tags & releases
on:
push:
pull_request:
tags:
- '*'
release:

env:
Expand All @@ -11,9 +13,14 @@ env:


jobs:
test-biospring:
name: Test Biospring
uses: ./.github/workflows/main.yml

get-mddriver-freesasa:
name: Get MDDriver & FreeSASA
runs-on: ubuntu-latest
needs: test-biospring

steps:
# - Get MDDriver ---------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
pull_request:
release:
workflow_call:


jobs:
Expand Down

0 comments on commit bf9f941

Please sign in to comment.