-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
34 lines (31 loc) · 929 Bytes
/
bitbucket-pipelines.yml
File metadata and controls
34 lines (31 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
image: quay.io/hypernode/deploy:3-php8.2-node18
definitions:
steps:
- step: &hypernode-build
name: Build
script:
- hypernode-deploy build -vvv
artifacts:
- build/**
pipelines:
branches:
# Deploy to test configuration
# If you are only deploying to production remove this configuration
test: # acceptance/staging branch
- step: *hypernode-build
- step:
name: Deploy to staging
deployment: test
script:
- hypernode-deploy deploy test -vvv
after-script:
- hypernode-deploy cleanup
# Deploy to production
master:
- step: *hypernode-build
- step:
name: Deploy to production
deployment: production
script:
- hypernode-deploy deploy production -vvv