Skip to content

Commit 0f7a4e5

Browse files
committed
docs/hndeploy: Add note about CI container image
1 parent 9d0ab2c commit 0f7a4e5

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

docs/hypernode-deploy/pipelines/github-actions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,17 @@ jobs:
7676
retention-days: 7
7777
```
7878
79+
````{note}
80+
Don't forget to set the specifications of the image to what your project needs. The same goes for the deploy steps.
81+
For example, if your project needs PHP 7.4 and Node.js 16, set the image to:
82+
```yaml
83+
jobs:
84+
build:
85+
container: quay.io/hypernode/deploy:3-php7.4-node16
86+
...
87+
```
88+
````
89+
7990
## Deploy to production
8091
8192
Create a file called `.github/workflows/deploy_production.yml` with the following contents.

docs/hypernode-deploy/pipelines/gitlab-ci.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,13 @@ build:
6868
- build/**
6969
```
7070
71-
Don't forget to set the specifications of the image to what your project needs,
72-
so if for example your project needs PHP 7.4 and Node.js 16, set the image to:
73-
71+
````{note}
72+
Don't forget to set the specifications of the image to what your project needs.
73+
For example, if your project needs PHP 7.4 and Node.js 16, set the image to:
7474
```yaml
7575
image: quay.io/hypernode/deploy:3-php7.4-node16
7676
```
77+
````
7778
7879
## Deploy to production
7980

0 commit comments

Comments
 (0)