khanhicetea / Gh Actions Hugo Deploy Gh Pages
Github Actions : Hugo static site generator
Stars: ✭ 37
Programming Languages
shell
77523 projects
Labels
Projects that are alternatives of or similar to Gh Actions Hugo Deploy Gh Pages
Kanary
Kubernetes Operator to manage canary deployment using HAProxy
Stars: ✭ 14 (-62.16%)
Mutual labels: deployment
Meteor Google Cloud
Automate Meteor deployments on Google Cloud App Engine Flexible
Stars: ✭ 32 (-13.51%)
Mutual labels: deployment
Deployer
Deployer is a free and open source deployment tool.
Stars: ✭ 854 (+2208.11%)
Mutual labels: deployment
Touchdown
Cloud service orchestration framework for python
Stars: ✭ 10 (-72.97%)
Mutual labels: deployment
Fastlane
🚀 The easiest way to automate building and releasing your iOS and Android apps
Stars: ✭ 33,382 (+90121.62%)
Mutual labels: deployment
Ansiblecm
A Docker based Ansible control machine for running playbooks in a consistent environment.
Stars: ✭ 26 (-29.73%)
Mutual labels: deployment
Pipeline With Gradle And Docker
Continuous Deployment with Gradle and Docker example project
Stars: ✭ 34 (-8.11%)
Mutual labels: deployment
Caprover
Scalable PaaS (automated Docker+nginx) - aka Heroku on Steroids
Stars: ✭ 7,964 (+21424.32%)
Mutual labels: deployment
Akkeeper
An easy way to deploy your Akka services to a distributed environment.
Stars: ✭ 30 (-18.92%)
Mutual labels: deployment
Keras Flask Deploy Webapp
😺 Pretty & simple image classifier app template. Deploy your own trained model or pre-trained model (VGG, ResNet, Densenet) to a web app using Flask in 10 minutes.
Stars: ✭ 856 (+2213.51%)
Mutual labels: deployment
Nanobox Engine Elixir
Engine for running Elixir apps on Nanobox
Stars: ✭ 10 (-72.97%)
Mutual labels: deployment
Hoor
Add Shamsi(Jalali) date to Hugo based websites with ease
Stars: ✭ 27 (-27.03%)
Mutual labels: hugo
Accompli
An easy to use and extendable deployment tool for (PHP) projects.
Stars: ✭ 9 (-75.68%)
Mutual labels: deployment
Lightning Sites
☁️ Lightning deployment for your ~/Sites folders
Stars: ✭ 8 (-78.38%)
Mutual labels: deployment
Plek
Make continuous deployment delightful. Deploy and preview your apps for each pull request with Plek. 🇳🇱
Stars: ✭ 15 (-59.46%)
Mutual labels: deployment
Exoframe
Exoframe is a self-hosted tool that allows simple one-command deployments using Docker
Stars: ✭ 972 (+2527.03%)
Mutual labels: deployment
Mr Drupal
Declaratively indicate which Drupal projects you want to use, run `mr update`, the end. No "check tarballs into git", no git submodules, no git-subtree. Great for smallish Drupal sites.
Stars: ✭ 27 (-27.03%)
Mutual labels: deployment
Hugo Github Action
GitHub Action for building and publishing Hugo-built site.
Inspired by BryanSchuetz/jekyll-deploy-gh-pages
Secrets
-
GIT_DEPLOY_KEY
- Required your deploy key which has Write access
Create Deploy Key
- Generate deploy key
ssh-keygen -t rsa -f hugo -q -N ""
- Then go to "Settings > Deploy Keys" of repository
- Add your public key within "Allow write access" option.
- Copy your private deploy key to
GIT_DEPLOY_KEY
secret in "Settings > Secrets"
Environment Variables
-
HUGO_VERSION
: optional, default is 0.54.0 - check all versions here -
GITHUB_BRANCH
: optional, default is gh-pages -
GITHUB_REMOTE_REPOSITORY
: optional, default is GITHUB_REPOSITORY
Example
push.yml (New syntax)
Deploy to gh-pages branch: (under same repo)
- Note: put the
CNAME
file within your domain name insidestatic
folder of compiling branch (master)
name: Deploy to GitHub Pages
on: push
jobs:
hugo-deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: hugo-deploy-gh-pages
uses: khanhicetea/[email protected]
env:
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
HUGO_VERSION: "0.53"
Deploy to Remote Branch:
name: Deploy to Remote Branch
on:
push:
branches:
- master
jobs:
hugo-deploy-gh-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: hugo-deploy-gh-pages
uses: khanhicetea/[email protected]
env:
GITHUB_REMOTE_REPOSITORY: <username>/<remote_repository_name>
GITHUB_BRANCH: <custom_branch>
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
HUGO_VERSION: "0.58.3"
Note: make sure to add GIT_DEPLOY_KEY
in secrets of mentioned GITHUB_REMOTE_REPOSITORY
main.workflow (Old syntax - deprecated)
workflow "Deploy to GitHub Pages" {
on = "push"
resolves = ["hugo-deploy-gh-pages"]
}
action "hugo-deploy-gh-pages" {
uses = "khanhicetea/[email protected]"
secrets = [
"GIT_DEPLOY_KEY"
]
env = {
HUGO_VERSION = "0.53"
GITHUB_BRANCH = "master"
}
}
Other actions
- RPC Ping (Ping Search Engine) : https://github.com/khanhicetea/gh-actions-rpc-ping
LICENSE
Copyright (c) 2019
Licensed under the MIT License.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].