1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-31 04:59:50 +02:00

Make deployment script accept pat

This commit is contained in:
Kamran Ahmed
2025-04-04 20:54:24 +01:00
parent e72622f2b2
commit 7b15ed39a3

View File

@@ -3,9 +3,6 @@ name: Deploy to EC2
on:
workflow_dispatch:
env:
GH_PAT: ${{ secrets.GH_PAT }}
jobs:
deploy:
runs-on: ubuntu-latest
@@ -41,7 +38,7 @@ jobs:
- name: Generate Production Build
run: |
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
npm run generate-renderer
GH_PAT=${{ secrets.GH_PAT }} npm run generate-renderer
npm run compress:images
npm run build