Skip to content

Commit 9ea57d1

Browse files
committed
ci: fix invenio-software.org deployment
1 parent 6cb979e commit 9ea57d1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,18 @@ jobs:
6868
steps:
6969
- name: Checkout target repo
7070
run: |
71-
git clone --depth=1 https://github.com/inveniosoftware/invenio-software.org target
71+
git clone --depth=1 https://github.com/inveniosoftware/invenio-software.org dashed
72+
7273
- name: Copy built site
7374
run: |
74-
rm -rf target/*
75-
cp -r build/* target/
75+
rm -rf dashed/*
76+
cp -r _site/* dashed/
77+
7678
- name: Commit and push to target repo
7779
run: |
78-
cd target
80+
cd dashed
7981
git config user.name "github-actions[bot]"
8082
git config user.email "github-actions[bot]@users.noreply.github.com"
8183
git add .
8284
git commit -m "Deploy from inveniosoftware.org site"
83-
git push https://x-access-token:${{ secrets.LEKTOR_DEPLOY_TOKEN_INVENIOBOT }}@github.com/inveniosoftware/invenio-software.org gh-pages
85+
git push https://x-access-token:${{ secrets.LEKTOR_DEPLOY_TOKEN_INVENIOBOT }}@github.com/inveniosoftware/invenio-software.org gh-pages

0 commit comments

Comments
 (0)