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

Update and rename build.yml to deploy.yml #232

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

Conversation

b-
Copy link

@b- b- commented Nov 20, 2023

This adds a GitHub Pages deployment stage to the build workflow, which I thus renamed to “deploy.yml”

I’m not sure if you’re interested in adding this or not, but I figured it would be worth proposing the change anyway.

Note: I have not actually tested this, because the repo I use for my own live DG site is private and therefore won’t let me use Pages for free. So if you decide to incorporate this change, please keep that in mind — there might be a missing parameter or a typo or something. Therefore I have marked this as a draft.

I’m not sure if I’ll use GH Pages myself, but if I do test this myself I’ll update the PR. Otherwise it’s there in case you’re interested in testing and merging it.

Thanks for the awesome repository and great documentation! If I get confident enough in my own site and add a little more content I might make a PR to add it to the list, but I’m shy… 🙈

This adds a GitHub Pages deployment stage to the build workflow, which I thus renamed to “deploy.yml”

I’m not sure if you’re interested in adding this or not, but I figured it would be worth proposing the change anyway.

Note: I have _not_ actually tested this, because the repo I use for my own live DG site is private and therefore won’t let me use Pages for free. So if you decide to incorporate this change, please keep that in mind — there might be a missing parameter or a typo or something.
@b- b- marked this pull request as ready for review November 28, 2023 06:35
@b-
Copy link
Author

b- commented Nov 28, 2023

I tested this against a basic site, deploying a couple of times, but then I decided I wanted my site private again.

@b-
Copy link
Author

b- commented Dec 11, 2023

Seems simply adding a deploy step wasn't a great idea, because that workflow runs for PRs. So I replaced build.yml, but only running on PRs (and removed the on.pull_request thing from deploy.yml

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