LuisEnMarroquin / gh-pages-publish

GitHub Action to publish a folder to GitHub Pages using an SSH key

Home Page:https://github.com/marketplace/actions/github-pages-publish

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Pages Publish - GitHub Action

Fail Fail Fail

This action sends your project build folder to a new/existing branch, example gh-pages

Example usage

name: Ubuntu

on:
  push:
    branches:
    - main

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: LuisEnMarroquin/gh-pages-publish@v2.4.4
      with:
        FOLDER: dist
        SSHKEY: ${{ secrets.SSH }}

Inputs

Key Value Information Required
BRANCH The branch where the project will be deployed, default gh-pages No
FOLDER The folder where your files that will be deployed are located Yes
SSHKEY Your GitHub SSH access key, this comes from GitHub Secrets Yes

Your repo secrets are at: https://github.com/<username>/<repository>/settings/secrets

Outputs

Key Value Information
TIMING The time when the action finished execution

About

GitHub Action to publish a folder to GitHub Pages using an SSH key

https://github.com/marketplace/actions/github-pages-publish

License:GNU General Public License v3.0


Languages

Language:TypeScript 83.9%Language:JavaScript 16.1%