mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-07 12:30:06 +00:00
chore: script fix
This commit is contained in:
26
.github/workflows/sasjs-tests.yml
vendored
26
.github/workflows/sasjs-tests.yml
vendored
@@ -54,20 +54,22 @@ jobs:
|
|||||||
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 viya
|
||||||
run: npm i
|
run: |
|
||||||
run: cd sasjs-tests
|
npm i
|
||||||
run: npm i
|
cd sasjs-tests
|
||||||
run: npm install -g replace-in-files-cli
|
npm i
|
||||||
run: replace-in-files --regex='userName.*' --replacement='userName:"${{ secrets.SAS_USERNAME }}",' ./public/config.json
|
npm install -g replace-in-files-cli
|
||||||
run: replace-in-files --regex='password.*' --replacement='password:"${{ secrets.SAS_PASSWORD }}",' ./public/config.json
|
replace-in-files --regex='userName.*' --replacement='userName:"${{ secrets.SAS_USERNAME }}",' ./public/config.json
|
||||||
run: replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json
|
replace-in-files --regex='password.*' --replacement='password:"${{ secrets.SAS_PASSWORD }}",' ./public/config.json
|
||||||
run: npm run update:adapter && npm run build
|
replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json
|
||||||
run: rsync -avhe ssh ./build/* --delete ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }}
|
npm run update:adapter && npm run build
|
||||||
|
rsync -avhe ssh ./build/* --delete ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }}
|
||||||
|
|
||||||
- name: Deploy sasjs-tests sas9
|
- name: Deploy sasjs-tests sas9
|
||||||
run: replace-in-files --regex='serverType.*' --replacement='serverType:"SAS9",' ./public/config.json
|
run: |
|
||||||
run: npm run update:adapter && npm run build
|
replace-in-files --regex='serverType.*' --replacement='serverType:"SAS9",' ./public/config.json
|
||||||
run: rsync -avhe ssh ./build/* --delete ${{ secrets.DCGITLAB_DEPLOY_PATH_SAS9 }}
|
npm run update:adapter && npm run build
|
||||||
|
rsync -avhe ssh ./build/* --delete ${{ 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