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

Howto remove pages #2933

Merged
merged 4 commits into from
Jan 3, 2025
Merged

Conversation

george-gca
Copy link
Collaborator

Closes #2930

Copy link

netlify bot commented Jan 1, 2025

Deploy Preview for relaxed-lollipop-b6bc17 ready!

Name Link
🔨 Latest commit
🔍 Latest deploy log https://app.netlify.com/sites/relaxed-lollipop-b6bc17/deploys/6778541b74af960558d5aab6
😎 Deploy Preview https://deploy-preview-2933--relaxed-lollipop-b6bc17.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.

@george-gca
Copy link
Collaborator Author

@alshedivat Netlify is currently failing with /opt/buildhome/.rvm/gems/ruby-3.3.0/bin/bundle: 6: exec: /opt/buildhome/.rvm/gems/ruby-3.3.0/bin/ruby: not found. Is there a RUBY_VERSION environment variable set for Netlify?

@alshedivat
Copy link
Owner

@george-gca, RUBY_VERSION env variable should be set correctly on netlify:
Screenshot 2025-01-03 at 4 01 18 PM

@alshedivat
Copy link
Owner

I think something might have happened with ruby 3.3.0 that was apparently cached. bumped up ruby version to 3.4.1 and the build off latest commit worked.

@george-gca george-gca merged commit c4a9f17 into alshedivat:main Jan 3, 2025
6 of 10 checks passed
@george-gca george-gca deleted the howto_remove_pages branch January 3, 2025 21:50
@CheariX
Copy link
Contributor

CheariX commented Jan 4, 2025

FYI:

An alternative that I use is to add these pages to exclude: in _config.yml.

E.g. my _config.yml holds:

excludes:
   ...
  - _news/announcement_*.md
  - _pages/blog.md
  - _pages/profiles.md
  - _pages/repositories.md
  - _posts/
  - _projects/?_project.md
  - assets/jupyter/blog.ipynb

The advantage of this approach is that you get less merge conflicts when merging upgstream.

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.

Explain how to remove a page
3 participants