Skip to content

Commit

Permalink
add netlify build
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 authored Mar 21, 2024
1 parent dd525cf commit 71bcb02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update-portfolio-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' }}
run: |
npm install -g [email protected]
netlify build \
--alias=${GITHUB_REPOSITORY#*/}-${PR_NUMBER} \
--site=cal-itp-data-analyses \
--auth=${{ secrets.NETLIFY_AUTH_TOKEN }} \
--dir=portfolio/index
netlify deploy \
--alias=${GITHUB_REPOSITORY#*/}-${PR_NUMBER} \
--site=cal-itp-data-analyses \
Expand Down

0 comments on commit 71bcb02

Please sign in to comment.