Skip to content

Commit

Permalink
Merge pull request #10 from virtual-labs/dev
Browse files Browse the repository at this point in the history
Dev: Update deployment-script.yml
  • Loading branch information
gaurav-behera authored Jul 23, 2024
2 parents 51275af + 460e0be commit f1745b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deployment-script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '12'
node-version: '16'
check-latest: true
- run: |
git clone https://github.com/virtual-labs/ph3-lab-mgmt
git clone --depth=1 https://github.com/virtual-labs/ph3-lab-mgmt
cd ph3-lab-mgmt
npm install
node exp.js
npm run build-exp
cd ../
git config --local user.email "admin@vlabs.ac.in"
git config --local user.name "vleadadmin"
git checkout --orphan gh-pages
git reset
git add build/* -f
git mv build/* ./ -f
git commit -m "https://virtual-labs.github.io/${{ github.repository }} click on the link to test your code."
git commit -m "https://virtual-labs.github.io/${{ github.event.repository.name }} click on the link to test your code."
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ORG_OWNER_GITHUB_TOKEN }}
Expand Down

0 comments on commit f1745b3

Please sign in to comment.