Skip to content

Commit 68f3fdf

Browse files
WIP: gitbackup
1 parent 2ef8932 commit 68f3fdf

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/backup-org.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,25 @@ jobs:
1818

1919

2020
steps:
21-
- name: Get GitHub User Data
21+
- name: Download gitbackup binary
22+
run: curl -L -o gitbackup.tar.gz https://github.com/amitsaha/gitbackup/releases/download/v1.1/gitbackup_Linux_arm64.tar.gz
23+
24+
- name: Extract
25+
run: tar -xzf gitbackup.tar.gz
26+
27+
- name: Make executable
28+
run: chmod +x gitbackup
29+
30+
- name: Run backup
2231
env:
2332
GITHUB_TOKEN: ${{ secrets.GITBACKUP_TOKEN }}
2433
run: |
25-
gitbackup \
34+
./gitbackup \
2635
-service github \
2736
-github.createUserMigration \
2837
-ignore-fork \
2938
-github.repoType owner \
30-
-dir /backup
39+
-dir /tmp/backup
3140
3241
# - name: Install AWS CLI
3342
# run: |

0 commit comments

Comments
 (0)