zyrouge / github-push-action

πŸš€ Easy to use GitHub Push Action!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Github Push Action

πŸš€ Easy to use GitHub Push Action!

Latest Version

Usage

- uses: zyrouge/github-push-action@v1
  with:
      directory: dist
      branch: gh-pages

Options

Option Description Default
github-token GitHub or PAT Token ${{ github.token }}
repository GitHub Repository (format: username/repo) ${{ github.repository }}
branch Repository Branch ${{ github.ref_name }}
force Determines if force push is used false
directory Directory to be pushed .
commit-message Commit message [actions] Pushed from ${{ github.sha }}
local-username Git Local Username github-actions
local-email Git Local Email ${{ github.actor }}@users.noreply.github.com
verbose Verbose logging false
allow-empty-commit Determines if empty commits are allowed false
skip-fetch Allows skipping git fetch false
checkout-orphan Checkouts as an orphan branch false

Example

Check out test.yml.

About

πŸš€ Easy to use GitHub Push Action!

License:MIT License


Languages

Language:TypeScript 100.0%