Code Monkey home page Code Monkey logo

Comments (3)

jstayton avatar jstayton commented on June 19, 2024

Hey Thibault,

Yes, totally. You can use Suri anywhere you can deploy a static site, so GitHub Pages fits the bill.

While it's not based on Jekyll – and so won't be built automatically by GitHub – you should be able to use Actions to automate that. Or, of course, you can just build locally on your machine and push the generated static site up to your GitHub Pages branch.

I'm going to leave this open because I do want to add documentation about GitHub Pages to the README when I get a chance. Feel free to post back here with anything you find along the way as well!

from suri.

shirgoldbird avatar shirgoldbird commented on June 19, 2024

This is exactly what I wanted to do. After some research I have it set up and working perfectly. This project is AMAZING. Thank you @jstayton :)

I followed this guide for deploying Eleventy with GH Actions and made two changes.

  1. Instead of creating a new SSH key, I used a GH token like so and then followed these instructions: github_token: ${{ secrets.GITHUB_TOKEN }}
  2. I changed the directory to build from to _site: publish_dir: ./_site

from suri.

shirgoldbird avatar shirgoldbird commented on June 19, 2024

One more change needed if you want to use a custom domain:

  1. Add a CNAME file that contains your custom domain to the public folder.

Otherwise your custom domain will be removed on every build (oops)

from suri.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.