We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0c7d394 + 9cd866a commit 4cd281fCopy full SHA for 4cd281f
.github/workflows/gh-pages.yml
@@ -53,6 +53,7 @@ jobs:
53
restore-keys: npm-packages-
54
55
- run: yarn
56
+ - run: yarn build
57
# Check to make sure that docs built into www.
58
# - run: ls -lah $GITHUB_WORKSPACE/www
59
@@ -71,7 +72,6 @@ jobs:
71
72
- name: Main branch preparations
73
if: github.ref == format('refs/heads/{0}', env.MAIN_BRANCH)
74
run: |
- yarn build --base=./
75
cp -a $GITHUB_WORKSPACE/dist/* $GITHUB_WORKSPACE/gh-pages
76
77
# If develop branch:
@@ -80,7 +80,6 @@ jobs:
80
- name: Develop branch preparations
81
if: github.ref == format('refs/heads/{0}', env.DEVELOP_BRANCH)
82
83
- yarn build --base=./latest/
84
rm -rf $GITHUB_WORKSPACE/gh-pages/latest
85
mv $GITHUB_WORKSPACE/dist $GITHUB_WORKSPACE/gh-pages/latest
86
0 commit comments