Skip to content

Commit

Permalink
back to python syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
tiffanychu90 authored Mar 21, 2024
1 parent b6b2aa9 commit afdd6eb
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/update-portfolio-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,10 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' }}
run: |
npm install -g [email protected]
jb build -W -n --keep-going ./portfolio
netlify deploy \
--alias="${GITHUB_REPOSITORY#*/}-${{ github.event.number }}" \
--auth=${{ secrets.NETLIFY_AUTH_TOKEN }} \
--dir="portfolio/index" \
--site=${{ secrets.NETLIFY_PREVIEW_APP_SITE_ID }}
python portfolio/portfolio.py index --deploy \
--alias=${GITHUB_REPOSITORY#*/}-${PR_NUMBER} \
--site=${{ secrets.NETLIFY_PREVIEW_APP_SITE_ID }} \
--auth=${{ secrets.NETLIFY_AUTH_TOKEN }} \
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PREVIEW_APP_SITE_ID }}
Expand Down

0 comments on commit afdd6eb

Please sign in to comment.