mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-06 20:10:05 +00:00
chore: script fdix deploy sas9
This commit is contained in:
7
.github/workflows/sasjs-tests.yml
vendored
7
.github/workflows/sasjs-tests.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
|||||||
- name: Start Open VPN 3
|
- name: Start Open VPN 3
|
||||||
run: openvpn3 session-start --config .github/vpn/config.ovpn
|
run: openvpn3 session-start --config .github/vpn/config.ovpn
|
||||||
|
|
||||||
- name: Deploy sasjs-tests viya
|
- name: Deploy sasjs-tests
|
||||||
run: |
|
run: |
|
||||||
npm i
|
npm i
|
||||||
npm install -g replace-in-files-cli
|
npm install -g replace-in-files-cli
|
||||||
@@ -66,13 +66,10 @@ jobs:
|
|||||||
replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json
|
replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json
|
||||||
npm run update:adapter && npm run build
|
npm run update:adapter && npm run build
|
||||||
scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }}
|
scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }}
|
||||||
|
|
||||||
- name: Deploy sasjs-tests sas9
|
|
||||||
run: |
|
|
||||||
replace-in-files --regex='serverType.*' --replacement='serverType:"SAS9",' ./public/config.json
|
replace-in-files --regex='serverType.*' --replacement='serverType:"SAS9",' ./public/config.json
|
||||||
npm run build
|
npm run build
|
||||||
scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_SAS9 }}
|
scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_SAS9 }}
|
||||||
|
|
||||||
- name: Run cypress on viya
|
- name: Run cypress on viya
|
||||||
run: ls
|
run: ls
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user