Skip to content

Commit 7f84c85

Browse files
authored
correct dir structure error
1 parent baff9e7 commit 7f84c85

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/mirror.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414
run: |
1515
git config --global user.email "github-actions@github.com"
1616
git config --global user.name "GitHub Action"
17-
17+
18+
# pull generated files from github profile page and commit them
1819
git remote add readmes https://github.com/getlantern/.github.git
1920
git fetch readmes
2021
git checkout --no-overlay readmes/main -- profile
21-
git add README* # add every file that starts with README
22+
mv profile/* .
23+
rm -rf profile
24+
git add README*
2225
git diff --quiet && git diff --staged --quiet || git commit -m 'fetched from getlantern/.github/profile'; git push

0 commit comments

Comments
 (0)