mirror of
https://github.com/sasjs/adapter.git
synced 2026-01-06 20:10:05 +00:00
chore: create .env.4gl at proper place
This commit is contained in:
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -64,11 +64,6 @@ 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: add .env.4gl
|
|
||||||
run: |
|
|
||||||
echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.4gl
|
|
||||||
echo "ACCESS_TOKEN=${{secrets.SAS9_4GL_IO_ACCESS_TOKEN}}" >> .env.4gl
|
|
||||||
|
|
||||||
- name: install sasjs/cli
|
- name: install sasjs/cli
|
||||||
run: npm i -g @sasjs/cli
|
run: npm i -g @sasjs/cli
|
||||||
|
|
||||||
@@ -83,6 +78,8 @@ jobs:
|
|||||||
replace-in-files --regex='"password".*' --replacement='"password":"${{ secrets.SASJS_PASSWORD }}",' ./public/config.json
|
replace-in-files --regex='"password".*' --replacement='"password":"${{ secrets.SASJS_PASSWORD }}",' ./public/config.json
|
||||||
replace-in-files --regex='"serverType".*' --replacement='"serverType":"SASJS",' ./public/config.json
|
replace-in-files --regex='"serverType".*' --replacement='"serverType":"SASJS",' ./public/config.json
|
||||||
npm run update:adapter && npm run build
|
npm run update:adapter && npm run build
|
||||||
|
echo "CLIENT=${{secrets.SAS9_4GL_IO_CLIENT}}"> .env.4gl
|
||||||
|
echo "ACCESS_TOKEN=${{secrets.SAS9_4GL_IO_ACCESS_TOKEN}}" >> .env.4gl
|
||||||
sasjs cbd -t 4gl
|
sasjs cbd -t 4gl
|
||||||
|
|
||||||
- name: Run cypress on sasjs
|
- name: Run cypress on sasjs
|
||||||
|
|||||||
Reference in New Issue
Block a user