Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
set PAT in origin url to use for AUTH
  • Loading branch information
yqni13 authored Jul 1, 2024
1 parent 5254dfe commit 8780a99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
- name: Deploy to GitHub Pages
env:
GH_PAT: ${{ secrets.PORTFOLIO_PAT }}
run:
run: |
git remote set-url origin https://${{ secrets.PORTFOLIO_PAT }}@github.com/yqni13/portfolio.git
npx angular-cli-ghpages --dir=dist/portfolio/browser --repo=https://github.com/yqni13/portfolio.git --branch=production --no-silent

0 comments on commit 8780a99

Please sign in to comment.