Update deployment workflow

This commit is contained in:
Kamran Ahmed
2023-09-30 14:25:25 +01:00
parent d31d626c61
commit 5d57d5baaf
2 changed files with 9 additions and 5 deletions
+3 -1
View File
@@ -18,13 +18,15 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 18
- name: Prepare Draw Repository
run: |
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
- uses: pnpm/action-setup@v2.2.2
with:
version: 7.13.4
- name: Setup Environment
run: |
pnpm install
- run: git config --global url."https://${{ secrets.GH_PAT }}@github.com/".insteadOf ssh://git@github.com/
- name: Generate meta and build
run: |
npm run generate-renderer