★ wanayoo — archive 1999 https://github.com/x-actions/git-pushNouvelle recherche | Portail wanayoo
Skip to content
Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

Git Push Action

A Github Action to push code to git, like gitpage.

Environment Variables

  • GITHUB_EMAIL: git user email
  • GITHUB_USERNAME: git user username
  • PUBLISH_REPO: repo url, https://${{ secrets.GitHub_PAT }}@github.com/owner/repo.git
  • PUBLISH_BRANCH: git branch
  • PUBLISH_DIR: dir to publish

Secrets

  • DEPLOY_PRIVATE_KEY: Required your deploy key which has Write access[not use]

How to Use

    - name: Push to Github
      uses: x-actions/gh-pages@release/v1
      env:
        GITHUB_EMAIL: "me@xiexianbin.cn"
        GITHUB_USERNAME: "xiexianbin"
        PUBLISH_REPO: https://${{ secrets.GitHub_PAT }}@github.com/owner/repo.git
        PUBLISH_BRANCH: gh-pages
        PUBLISH_DIR: ./public
        # DEPLOY_PRIVATE_KEY: ${{ secrets.DEPLOY_PRIVATE_KEY }}

About

A Github Action to push code to git, like gitpage.

Topics

Resources

License

Packages

No packages published
You can’t perform that action at this time.