Deploy website

Deploy website version based on bf3c7cc8f9
This commit is contained in:
Website Deployment Script 2020-03-27 11:20:02 +00:00
parent 81465cdbf9
commit 845333ebfa
129 changed files with 924 additions and 924 deletions

View file

@ -96,7 +96,7 @@ organizationName: 'USERNAME' // Your GitHub username.
</ol>
<ol start="2">
<li>In Terminal or Git Bash, kill the web server by pressing <strong>Cmd+C</strong> or <strong>Ctrl+C</strong>.</li>
<li>In the <code>website</code> directory, run <code>npm run build</code> or <code>yarn build</code>. The command generates a <code>build</code> directory inside the <code>website</code> directory, containing HTML files (and other file types) for all of your docs and other pages. Make sure the <code>docusaurus-tutorial/website/build</code> directory is successfully created before running the next step.</li>
<li><code>website</code> 目录下,运行 <code>npm run build</code> <code>yarn build</code> 命令。 The command generates a <code>build</code> directory inside the <code>website</code> directory, containing HTML files (and other file types) for all of your docs and other pages. Make sure the <code>docusaurus-tutorial/website/build</code> directory is successfully created before running the next step.</li>
<li>Replace <code>USERNAME</code> with your GitHub username and run the following command.</li>
</ol>
<pre><code class="hljs css language-sh">GIT_USER=USERNAME CURRENT_BRANCH=master USE_SSH=<span class="hljs-literal">true</span> npm run publish-gh-pages <span class="hljs-comment"># SSH</span>