Skip to content

Commit 853aa91

Browse files
No longer need to clone ghes-data
1 parent 35087ba commit 853aa91

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

.github/workflows/restore.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -63,21 +63,22 @@ jobs:
6363
- name: Load docker container
6464
run: docker load -i backup-utils.tar
6565

66-
- uses: actions/checkout@v3
67-
with:
68-
path: ghes-data
69-
repository: github/ghes-data
70-
ref: main
71-
token: "${{ secrets.INTERNAL_ACTIONS_DX_BOT_ACCOUNT_TOKEN }}"
72-
lfs: 'true'
66+
# - uses: actions/checkout@v3
67+
# with:
68+
# path: ghes-data
69+
# repository: github/ghes-data
70+
# ref: main
71+
# token: "${{ secrets.INTERNAL_ACTIONS_DX_BOT_ACCOUNT_TOKEN }}"
72+
# lfs: 'true'
7373

7474
- name: Download from blob storage
7575
run: |
76+
mkdir ghes-data
7677
az storage blob download \
7778
--account-name ghesresults \
7879
--container-name ghes-data \
7980
--name v3.8-small-docs.tar.gz \
80-
--file ghes-data/data/backup/v3.8-small-docs.tar.gz \
81+
--file ghes-data/v3.8-small-docs.tar.gz \
8182
--connection-string "${{ secrets.CONNECTIONSTRING }}"
8283
8384
@@ -86,7 +87,7 @@ jobs:
8687
mkdir $HOME/ghe-backup-data
8788
dir_name=$(date +%s)
8889
mkdir $HOME/ghe-backup-data/$dir_name
89-
tar -xvf ghes-data/data/backup/v3.8-small-docs.tar.gz -C $HOME/ghe-backup-data/$dir_name
90+
tar -xvf ghes-data/3.8-small-docs.tar.gz -C $HOME/ghe-backup-data/$dir_name
9091
9192
ln -s $dir_name $HOME/ghe-backup-data/current
9293

0 commit comments

Comments
 (0)