-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (37 loc) · 1.06 KB
/
homol.yml
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
37
38
39
40
name: Deploy Homol
on: workflow_dispatch
env:
HOST_ELASTIC: ${{secrets.HOST_ELASTIC}}
API_KEY: ${{secrets.API_KEY}}
MAIL_HOST: ${{secrets.MAIL_HOST}}
MAIL_SENDER: ${{secrets.MAIL_SENDER}}
MAIL_PASSWORD: ${{secrets.MAIL_PASSWORD}}
MAIL_PORT: ${{secrets.MAIL_PORT}}
MAIL_RECIPIENT: ${{secrets.MAIL_RECIPIENT}}
RECAPTCHA_SECRET_KEY: ${{secrets.RECAPTCHA_SECRET_KEY}}
VIVO_URL_BASE: ${{secrets.VIVO_URL_BASE}}
VIVO_URL_ITEM_BASE: ${{secrets.VIVO_URL_ITEM_BASE}}
BRCRIS_HOST_BASE: ${{vars.BRCRIS_HOST_BASE}}
jobs:
test:
runs-on: [self-hosted, Linux, x64, runner-iroxa]
environment:
name: test
url: 'http://codich1.ibict.br:8086/'
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
steps:
- uses: actions/checkout@v4
- run: |
sh scripts/deploy.sh
homol:
runs-on: [self-hosted, Linux, x64, runner-homol]
environment:
name: homol
url: 'http://172.16.20.48:3000/'
env:
NODE_TLS_REJECT_UNAUTHORIZED: 0
steps:
- uses: actions/checkout@v4
- run: |
sh scripts/deploy.sh