Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HotsykVictor committed Sep 21, 2023
1 parent b2aa61d commit 51fe6e5
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,18 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: nextjs-out
path: ./out

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./landing
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: nextjs-out

- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 51fe6e5

Please sign in to comment.