Skip to content

Commit a0a0a55

Browse files
ci(deploy): deploy prerelease version on staging environment
1 parent ad73cfd commit a0a0a55

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/continuous_integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Continuous Integration
22

33
on:
44
pull_request:
5+
branches-ignore:
6+
- beta
57
workflow_dispatch:
68

79
jobs:

.github/workflows/deploy-online-serverest.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy ServeRest on the web
44

55
on:
66
release:
7-
types: [released]
7+
types: [published]
88

99
concurrency: ${{ github.workflow }}
1010

@@ -107,6 +107,7 @@ jobs:
107107
deploy-production:
108108
name: Deploy on prod environment (serverest.dev)
109109
needs: test-e2e-staging
110+
if: "!contains(github.ref, 'beta')"
110111

111112
runs-on: ubuntu-22.04
112113

0 commit comments

Comments
 (0)