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

Include GitHub Action to deploy to GitHub Pages #52

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pierremonico
Copy link

@pierremonico pierremonico commented Oct 21, 2024

Really like the template, and I believe it's a perfect fit to be deployed to GitHub Pages. This should work as is, but I had a few questions anyway:

  • Why do you "wrap" the npm scripts with yarn when the README seems to advice to use npm to install? I.e. "dev": "yarn generate-json && astro dev". Why not stick to npm?
  • Why do you .gitignore lock files?

PS: the workflow is almost a copy-paste from https://github.com/actions/starter-workflows/blob/main/pages/astro.yml

Copy link

netlify bot commented Oct 21, 2024

Deploy Preview for astroplate ready!

Name Link
🔨 Latest commit 30fea34
🔍 Latest deploy log https://app.netlify.com/sites/astroplate/deploys/67168d8687829100086f67a9
😎 Deploy Preview https://deploy-preview-52--astroplate.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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.

1 participant