Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lewmilburn authored Jun 24, 2024
1 parent a9fcbf7 commit 1586bd0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,15 @@ jobs:
echo "DEPLOY_PATH=${BRANCH_NAME}" >> $GITHUB_ENV
fi
- name: Upload artifact to Pages
- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.1
with:
path: dir
deployment-path: ${{ env.DEPLOY_PATH }}

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.4
with:
target_branch: gh-pages
target_path: ${{ env.DEPLOY_PATH }}

0 comments on commit 1586bd0

Please sign in to comment.