-
actions-gh-pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Now for the meat, the steps in the build job. First we need to checkout the source code in the container. Github provides a script that does that for you actions/checkout@v2. Once the code is checked out we need to install and run eleventy. Luckily, there 3rd party action that can do this for us TartanLlama/[email protected]. This gets us into the same state that we were in after a local build. Lastly we want to publish to Github pages. There's another action to do that peaceiris/actions-gh-pages@v3. What this does is take the _site folder and makes a commit to the branch gh-pages with the contents.