Skip to content

Commit

Permalink
Merge pull request #5 from harshau007/main
Browse files Browse the repository at this point in the history
Updated deploy.yml, index.jsx, package.json
  • Loading branch information
vish-rt authored Oct 1, 2023
2 parents b10d23d + cccc230 commit 63d32dc
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -46,4 +49,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages (Main)
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v2
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
build/
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
<React.StrictMode>
<StyledEngineProvider injectFirst>
<Router>
<Router basename={window.location.pathname || ""}>
<App />
</Router>
</StyledEngineProvider>
Expand Down

0 comments on commit 63d32dc

Please sign in to comment.