Our great sponsors
-
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.
This quote is quite true. Without automation, we would spend a lot of out time on things that would have to be done repetitively, for example, manually building and deploying your GitHub pages every time there is a change. Luckily, you can easily use GitHub Actions to build and deploy your pages by just pushing your repository to GitHub! You don't even need to do anything except to add a configuration file to your repository. In this post, I will be creating a workflow and using peaceiris/actions-gh-pages@v3 from GitHub Marketplace (it's free).
- name: Setup Node.js for use with actions uses: actions/setup-node@v1.1.0 with: version: 16.8 # see https://github.com/actions/setup-node#supported-version-syntax for supported versions env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true' - name: Checkout branch uses: actions/checkout@v2 env: ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'