A drone plugin to deploy a site to pages.gay.
Go to file
2024-04-26 16:05:10 -05:00
action.yml change default clean to false 2024-03-29 17:06:24 -05:00
deploy.sh how about this maybe? 2024-04-26 16:05:10 -05:00
LICENSE Initial commit 2023-09-06 23:34:47 -05:00
README.md bump version tag 2024-03-29 17:06:56 -05:00

pages-deploy

A drone plugin to deploy to pages.gay. Takes a folder as an input and pushes it to the "pages" 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.gay/gitgay/pages-deploy@v2
        with:
          folder: ./public

Options

parameter description default
folder The folder to deploy
branch The branch to push to pages
clean Whether to make pages branch empty false