forked from ByteInternet/hypernode-deploy-configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
36 lines (32 loc) · 739 Bytes
/
.gitlab-ci.yml
File metadata and controls
36 lines (32 loc) · 739 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
34
35
36
# See https://quay.io/repository/hypernode/deploy?tab=tags for all possible tags.
image: quay.io/hypernode/deploy:3-php8.2-node18
stages:
- build
- deploy
build:
stage: build
only:
- test
- master
script:
- hypernode-deploy build
artifacts:
paths:
- build/**
# Deploy to test configuration
# If you are only deploying to production remove this configuration
deploy_test:
stage: deploy
only:
- test
script:
- hypernode-deploy deploy test -vvv
after_script:
- hypernode-deploy cleanup
# Deploy to production
deploy_production:
stage: deploy
only:
- master
script:
- hypernode-deploy deploy production