This action deploys a specified/current branch to a remote git repository.
Required The SSH url of the target repository.
Required The SSH key used to push to the registry. The SSH key is configured with the local git config, enabling this action to run authenticated git commands.
Follow these instructions to create and integrate a deploy key with the target repo.
The known hosts to run SSH commands against. By default, github.com
is used
as the known host.
Required A name for the git user create the git commit.
Required An email for the git user creating the git commit.
name: Deploy git repo to another git repo
uses: wpsmith/github-action-git-deploy@v0.1
with:
repository: ${{ secrets.MY_OTHER_REPO_SSH_URI }}
ssh_key: ${{ secrets.MY_SSH_KEY }}
name: ${{ secrets.MY_NAME }}
email: ${{ secrets.MY_EMAIL }}