From cccc230a25c7364bcec926f1407396cfe6fae009 Mon Sep 17 00:00:00 2001 From: harshau007 Date: Fri, 29 Sep 2023 10:59:51 +0530 Subject: [PATCH] Updated deploy.yml, index.jsx, package.json --- .github/workflows/deploy.yml | 15 +++++++++------ .gitignore | 2 ++ package.json | 4 ++-- src/index.jsx | 4 ++-- 4 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 .gitignore diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f158892..cf91c0a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,22 +19,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout your repository using git - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install, build, and upload your site - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 16. (optional) cache: yarn - name: Install Deps run: yarn - name: Build - run: yarn build + run: | + if yarn run build; then + echo "error" + fi - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: - path: './build' + path: 'build/' deploy: environment: @@ -46,4 +49,4 @@ jobs: steps: - name: Deploy to GitHub Pages (Main) id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v2 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b51ea71 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +node_modules/ +build/ \ No newline at end of file diff --git a/package.json b/package.json index a2deee2..f43f710 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "gdsctcet", "version": "2.0.0", - "author": "Wilfred Almeida", - "homepage": "http://www.gdsctcet.tech/", + "author": "GDSC TEAM", + "homepage": "https://harshau007.github.io/gdsc-website/", "private": true, "dependencies": { "@emotion/react": "^11.10.4", diff --git a/src/index.jsx b/src/index.jsx index 981ec77..db77877 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -7,14 +7,14 @@ import { StyledEngineProvider } from "@mui/material"; import "./index.css"; import App from "./App"; import reportWebVitals from "./reportWebVitals"; -import "bootstrap/dist/css/bootstrap.min.css"; +import "bootstrap/dist/js/bootstrap.bundle"; import "mdb-react-ui-kit/dist/css/mdb.min.css"; import "aos/dist/aos.css"; ReactDOM.render( - +