Skip to content

Commit

Permalink
Feat frontend deploy (#56)
Browse files Browse the repository at this point in the history
* feat: deployment test

* feat: test

* Update nextjs.yml

* fix: lint

* Update nextjs.yml

* Update nextjs.yml

* Update nextjs.yml

* fix: remove package-lock for githubactions

* fix: test deploy

* fix: next js new yaml file

* fix: test 2

* fix: test fix

* fix: test

* fix : test 3

* fix: test 11

* test

* test sds

* fix: test3

* Feat: added multiple chart from github

* feat: added config for output:export

* fix: config file

* fix: test

* Update nextjs.yml

* updated nextjs github actions

---------

Co-authored-by: Varun <[email protected]>
Co-authored-by: Deepak Pradhan (Varun) <[email protected]>
  • Loading branch information
3 people authored Oct 3, 2023
1 parent 2c388cb commit 3c5c5fb
Show file tree
Hide file tree
Showing 10 changed files with 919 additions and 5,519 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ name: Deploy Next.js site to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches:
- master

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -86,7 +87,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: ./out
path: ./frontend/out

# Deployment job
deploy:
Expand Down
1 change: 0 additions & 1 deletion frontend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ yarn dev
# or
pnpm dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
Expand Down
6 changes: 4 additions & 2 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {}
const nextConfig = {
output: "export",
};

module.exports = nextConfig
module.exports = nextConfig;
Loading

0 comments on commit 3c5c5fb

Please sign in to comment.