File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments