{"repo":"shalzz/zola-deploy-action","free":true,"listed":false,"github":"https://github.com/shalzz/zola-deploy-action","clone":"git clone https://github.com/shalzz/zola-deploy-action.git","description":"Github action for building a Zola site and deploying to Github Pages","language":"HTML","stars":290,"topics":["actions","github-actions","github","zola"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Zola Deploy Action A GitHub action to automatically build and deploy your [zola] site to the master branch as GitHub Pages. Table of Contents - Usage - Environment Variables - Custom Domain Usage In your repository Settings Actions General , in Workflow permissions, make sure that GITHUB TOKEN has Read and Write permissions . This example will build and deploy to gh-pages on push to the main branch. The action's version tags follow the version of Zola that should be used to build. To use Zola v0.21.0 for instance, specify shalzz/zola-deploy-action@v0.21.0 . This example will build and deploy to gh-pages branch on a push to the main branch, and it will build only on pull requests. Environment Variables PAGES BRANCH : The git branch of your repo to which the built static files will be pushed. Default is gh-pages branch REPOSITORY : The target repository to push to. Default is GITHUB REPOSITORY (current repository). Set this variable if you want to deploy to other repo. BUILD DIR : The path from the root of the repo where we should run the zola build command. Default is . (current directory) OUT DIR : The build output directory of zola build . Default is public BUILD FLAGS : Custom build flags that you want to pass to zola while building. (Be careful supplying a different build output directory might break the action). BUILD ONLY : Set to value true if you don't want to deploy after zola build . BUILD THEMES : Set to false to disable fetching themes submodules. Default true . CH","default_branch":null,"files":null,"tree":[],"storefront":"/r/shalzz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/shalzz/zola-deploy-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}