Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
49b837c
Update volunteer signup form URLs to new Google Form
plus-hi Mar 25, 2026
94ae637
Move discontinued bootcamp and old mentorship pages to _deprecated fo…
plus-hi Mar 25, 2026
ef762c4
Add redirects for deprecated bootcamp and old mentorship pages
plus-hi Mar 25, 2026
01cc97f
Remove bootcamp references from contribute, our-programs, programs da…
plus-hi Mar 25, 2026
32e3bb9
Update contribute page dates and volunteer text to 2026
plus-hi Mar 25, 2026
8228ea3
Update mentorship page and timeline dates to 2026
plus-hi Mar 25, 2026
726b438
Update our-programs page year to 2026
plus-hi Mar 25, 2026
780b918
Merge Contribute nav link and Volunteer button into single Contribute…
plus-hi Mar 25, 2026
920b095
Remove Bootcamp and Partner links from footer
plus-hi Mar 25, 2026
fa7fbcb
Change mentorship button to disabled 'Coming Soon!' on our-programs page
plus-hi Mar 25, 2026
690713d
Remove corporate partner logos from contribute page
plus-hi Mar 25, 2026
ecefbe0
Update dependencies to fix 40 of 45 security vulnerabilities
plus-hi Mar 25, 2026
b41d356
Update Learn More link to about page and rename Contribute to Contrib…
plus-hi Mar 25, 2026
e4e63d7
Add GitHub Pages deployment workflow and update site content
plus-hi Apr 3, 2026
cfe0ad9
Fix ESLint error: use next/link Link for internal navigation
plus-hi Apr 3, 2026
432dd7d
Switch to output: export and remove incompatible features
plus-hi Apr 3, 2026
81fbfd8
Prefix all image paths with basePath for GitHub Pages compatibility
plus-hi Apr 3, 2026
de493ab
Remove Powered by Vercel from footer
plus-hi Apr 3, 2026
e1af9ae
Add "In a gist" and "Skill Based Events" sections to Programs page, u…
plus-hi Apr 4, 2026
10a0f8f
Fix button spacing and alignment for Instagram/LinkedIn links
plus-hi Apr 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main-update
- master

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: pages
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm

- name: Set base path
run: |
if [ "${{ github.repository }}" = "plus-hi/techladies-staging" ]; then
echo "NEXT_PUBLIC_BASE_PATH=/techladies-staging" >> $GITHUB_ENV
elif [ "${{ github.repository }}" = "TechLadies/website" ]; then
# Remove this line once custom domain (techladies.co) is configured
echo "NEXT_PUBLIC_BASE_PATH=/website" >> $GITHUB_ENV
fi

- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Add .nojekyll
run: touch out/.nojekyll

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: out

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
25 changes: 4 additions & 21 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '';

module.exports = {
output: 'export',
basePath: basePath || undefined,
trailingSlash: true,
serverRuntimeConfig: {
SENDGRID_API_KEY: process.env.SENDGRID_API_KEY,
},
publicRuntimeConfig: {
// To expose the config to the browser
// SENDGRID_API_KEY: process.env.SENDGRID_API_KEY
},
async redirects() {
return [
{
source: '/bootcamp-7',
destination: '/bootcamp',
permanent: true,
},
{
source: '/mentorship',
destination: '/mentorship',
permanent: true,
},
]
},
}
Loading
Loading