A drone plugin to deploy a site to pages.gay.
Go to file
hazel 2fa95b6b3d
update deploy bot email
2023-09-07 01:03:04 -05:00
LICENSE Initial commit 2023-09-06 23:34:47 -05:00
README.md Initial commit 2023-09-06 23:34:47 -05:00
action.yml fix deploy script 2023-09-06 23:52:27 -05:00
deploy.sh update deploy bot email 2023-09-07 01:03:04 -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@v1
        with:
          folder: ./public

Options

parameter description default
folder The folder to deploy
branch The branch to push to pages