Skip to content
git-commit

GitHub Action

Push directory to another repository

v1.7.2 Latest version

Push directory to another repository

git-commit

Push directory to another repository

Useful to push files to another repository to be used, for example, via github pages

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Push directory to another repository

uses: cpina/github-action-push-to-another-repository@v1.7.2

Learn more about this action in cpina/github-action-push-to-another-repository

Choose a version

github-action-push-to-another-repository

Warning

TL;DR: this repository is not maintained for any new development. I plan to fix issues if they arise due to changes on GitHub, to minimise disruption of existing usage.

My circumstances changed since I started the GitHub Action in 2020. I am not able to add functionality to it or fix issues.

The action is 175 lines of shell script. Feel free to fork it and modify it for your own use case.

If you create a fork that might replace this one, I will add a note in the documentation and the README.md. Please, open an issue and I will do it.

See the extensive documentation in https://cpina.github.io/push-to-another-repository-docs/ (includes examples, FAQ, troubleshooting, etc.).

GitHub repository of the documentation: https://github.com/cpina/push-to-another-repository-docs