-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
60b8c72
commit b332146
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,9 @@ GitHub Action for backup your git repository. | |
|
||
## Environment Variables | ||
|
||
- `GIT_DEPLOY_KEY` - *Required* your deploy key (ssh private key) which has **Write access** | ||
- `TARGET_GIT` : **required**, your backup git repository (please use ssh or git protocol) | ||
- `GIT_DEPLOY_KEY`: **Required**, your deploy key (ssh private key) which has **Write access** | ||
- `TARGET_GIT`: **required**, your backup git repository (please use ssh or git protocol) | ||
- `BRANCH`: **required**, the branch you want to backup | ||
|
||
``` | ||
name: Backup Git Repository | ||
|
@@ -37,4 +38,5 @@ jobs: | |
env: | ||
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }} | ||
TARGET_GIT: "[email protected]:surenpi/surenpi.git" | ||
BRANCH: master | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters