Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 1 addition & 2 deletions .github/workflows/custom-domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
<head>
<meta charset="utf-8">
<title>Redirecting to Lemonade Map</title>
<meta http-equiv="refresh" content="0;url=/Lemonade-map/">
<script>window.location.href = "/Lemonade-map/";</script>
</head>
<body>
Expand All @@ -55,7 +54,7 @@ EOF
git config user.name "GitHub Actions Bot"
git config user.email "actions@github.com"
git add CNAME index.html
git commit -m "Update GitHub Pages configuration files" || echo "No changes to commit"
git commit -m "Update CNAME file for custom domain" || echo "No changes to commit"
git push

- name: Update GitHub Pages settings
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ jobs:
<head>
<meta charset="utf-8">
<title>Redirecting to Lemonade Map</title>
<meta http-equiv="refresh" content="0;url=/Lemonade-map/">
<script>window.location.href = "/Lemonade-map/";</script>
</head>
<body>
Expand All @@ -138,7 +137,7 @@ EOF
git config user.name "GitHub Actions Bot"
git config user.email "actions@github.com"
git add CNAME index.html
git commit -m "Update GitHub Pages configuration files" || echo "No changes to commit"
git commit -m "Update CNAME file for custom domain" || echo "No changes to commit"
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} gh-pages

- name: Verify GitHub Pages Configuration
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/gh-pages-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
branches:
- gh-pages

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
Expand Down Expand Up @@ -37,7 +36,6 @@ jobs:
<head>
<meta charset="utf-8">
<title>Redirecting to Lemonade Map</title>
<meta http-equiv="refresh" content="0;url=/Lemonade-map/">
<script>window.location.href = "/Lemonade-map/";</script>
</head>
<body>
Expand All @@ -62,5 +60,5 @@ EOF
git config user.name "GitHub Actions Bot"
git config user.email "actions@github.com"
git add index.html CNAME
git commit -m "Update GitHub Pages configuration files" || echo "No changes to commit"
git commit -m "Update CNAME file for custom domain" || echo "No changes to commit"
git push
3 changes: 1 addition & 2 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
npm run build

# Copy the root index.html redirect file to the dist directory
- name: Ensure correct files
- name: Ensure correct index.html
run: |
# Make sure the dist directory exists
mkdir -p lemonade-map/dist
Expand All @@ -57,7 +57,6 @@ jobs:
<head>
<meta charset="utf-8">
<title>Redirecting to Lemonade Map</title>
<meta http-equiv="refresh" content="0;url=/Lemonade-map/">
<script>window.location.href = "/Lemonade-map/";</script>
</head>
<body>
Expand Down