Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue #6] Publish website to GitHub pages #13

Merged
merged 2 commits into from
Dec 28, 2024
Merged

Conversation

widal001
Copy link
Collaborator

Summary

Set up a CD pipeline to deploy the website to GitHub pages each time changes to the website/ sub-directory are pushed to main.

Changes proposed

What was added, updated, or removed in this PR.

  • Updated website/astro.config.mjs to work with GitHub pages
  • Adds .github/workflows/cd-website.yml to set up automatic deploys

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers. Explain how the changes were verified.

  1. Checkout the PR
  2. Run npm run dev
  3. Go to http://localhost:4321/simpler-grants-protocol/ Note: the trailing / is important because it enables relative links to work correctly

Additional information

Screenshots, GIF demos, code examples or output to help show the changes working as expected.

- Sets the site and base parameters to match the GitHub pages URL
- Changes CTA link to a relative path
@widal001 widal001 merged commit 731ea1f into main Dec 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Publish static site to GitHub pages
1 participant