Skip to content

Commit 460e0be

Browse files
Update deployment-script.yml
1 parent 0dcda15 commit 460e0be

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/deployment-script.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,21 @@ jobs:
1515
- name: Setup node
1616
uses: actions/setup-node@v2
1717
with:
18-
node-version: '12'
18+
node-version: '16'
1919
check-latest: true
2020
- run: |
21-
git clone https://github.com/virtual-labs/ph3-lab-mgmt
21+
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
2222
cd ph3-lab-mgmt
2323
npm install
24-
node exp.js
24+
npm run build-exp
2525
cd ../
2626
git config --local user.email "admin@vlabs.ac.in"
2727
git config --local user.name "vleadadmin"
2828
git checkout --orphan gh-pages
2929
git reset
3030
git add build/* -f
3131
git mv build/* ./ -f
32-
git commit -m "https://virtual-labs.github.io/${{ github.repository }} click on the link to test your code."
32+
git commit -m "https://virtual-labs.github.io/${{ github.event.repository.name }} click on the link to test your code."
3333
- uses: ad-m/github-push-action@master
3434
with:
3535
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)