Skip to content

Commit

Permalink
Update the deployment process
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Nov 28, 2023
1 parent e90297f commit 76b5823
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,8 @@ jobs:
run: |
yarn run export
find ./out | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./src/out
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./src/out # The folder the action should deploy.

0 comments on commit 76b5823

Please sign in to comment.