A fork of pages-deploy from git.gay but for TwintSites
- Shell 100%
| action.yml | ||
| deploy.sh | ||
| LICENSE | ||
| README.md | ||
sites-deploy
A drone plugin to deploy to sites.pp.ua. Takes a folder as an input and pushes it to the "sites" branch of your repository. Inspired by codeberg-pages-deploy, but rewritten in bash to not require Go to be setup.
Example usage
on:
push:
branches:
- main
jobs:
build:
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- name: Setup Hugo
uses: https://github.com/peaceiris/actions-hugo.git@v2
with:
hugo-version: "latest"
extended: true
- name: Build
run: |
hugo --minify
- name: Deploy
uses: https://git.serversmp.xyz/actions/sites-deploy@v1
with:
folder: ./public
Options
| parameter | description | default |
|---|---|---|
| folder | The folder to deploy | |
| branch | The branch to push to | sites |
| clean | Whether to make pages branch empty | true |