We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82c4ccc commit 8162efdCopy full SHA for 8162efd
1 file changed
.github/workflows/build.yaml
@@ -15,7 +15,7 @@ jobs:
15
uses: actions/checkout@v2
16
with:
17
ref: "build"
18
- path: "tutorial/book"
+ path: "tutorial-build"
19
20
- name: Setup mdBook
21
uses: peaceiris/actions-mdbook@v1
@@ -30,9 +30,12 @@ jobs:
30
- name: Create build commit
31
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
32
run: |
33
- cd tutorial/book
+ cd tutorial-build
34
+ git rm -r *
35
+ rm -rf *
36
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
37
git config --local user.name "github-actions[bot]"
38
+ cp -r ../tutorial/book/* .
39
git add *
40
git commit -m "Deploy $(date +'%Y-%m-%d %H:%M:%S')"
41
0 commit comments