Skip to content

Commit

Permalink
updating routes and config
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-pung committed Feb 6, 2024
1 parent 5813da3 commit d64cf9c
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy Monolith to GitHub Pages

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '14' # or the version you're using
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
7 changes: 3 additions & 4 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export default {
// ...
base: '/Monolith-MMI/',
};

// ...
base: "/Monolith/",
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
"devDependencies": {
"gh-pages": "^6.1.1"
}
}
}

0 comments on commit d64cf9c

Please sign in to comment.