Skip to content

Commit

Permalink
chore: add 'upload artifact' step
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Jun 23, 2024
1 parent 8178b9e commit 1eb10e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ jobs:
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
- name: Build with Next.js
run: ${{ steps.detect-package-manager.outputs.runner }} next build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./out

# Deployment job
deploy:
Expand Down
1 change: 0 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const nextConfig = {
styledComponents: true,
},
output: "export",
distDir: "dist",
};

module.exports = nextConfig;

0 comments on commit 1eb10e7

Please sign in to comment.