Commit edddc48f authored by Ivanq's avatar Ivanq

Add more information about hooks to /workflow and 'Sign & Publish button' description

parent a9e991d6
......@@ -43,7 +43,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab tab-current">
......
......@@ -43,7 +43,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab tab-current">
......
......@@ -41,7 +41,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab tab-current">
......
......@@ -42,7 +42,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab">
......
......@@ -43,7 +43,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab">
......
......@@ -43,7 +43,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab">
......
......@@ -43,7 +43,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab tab-current">
......
......@@ -42,7 +42,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab">
......
......@@ -42,7 +42,7 @@
<div id="middle_buttons" class="middle-buttons">
<input type="text" class="middle-button-margin input" id="git_url">
<a class="middle-button-margin button" id="fork">Fork</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you disabled automatical publishing via no-sign or no-publish keys">Sign &amp; Publish changes</a>
<a class="middle-button-margin button button-blue publish" id="publish" title="Use this option after pushing if you didn't enable hooks">Sign &amp; Publish changes</a>
</div>
<a id="code_link" class="tab">
......
......@@ -87,7 +87,15 @@
</li>
<li>
<code>git push</code><br>
Pushing is not so hard, too. Git Center adds some hooks which sign (disabled by <code>git push -o no-sign</code> which implies <code>no-publish</code>) and publish (disabled by <code>git push -o no-publish</code>) changes after pushing. These hooks also download the newest version from ZeroNet to prevent overwriting work (disabled by <code>git push -o no-fetch</code>). Join these <code>-o</code> options like <code>git push -o no-sign -o no-fetch</code> (multiple <code>-o</code>).
Git Center offers two ways of pushing. First, you can run <code>git push</code> and then press <a class="button button-blue">Sign &amp; Publish changes</a> on repository home page.<br>
<br>
Secondly, you can skip manually pressing button with hooks. If you enable hooks on repository <b>Settings</b> tab, Git Center will fetch repository for changes and sign &amp; publish repository for you.
<ol>
<li>Your user must have read/write permissions to access ZeroNet directory.</li>
<li><code>zeronet.home</code> git variable must be set to absolute path.</li>
<li>You must have python installed and available in PATH.</li>
</ol>
You can disable signing and publishing via <code>git push -o nosign</code>, publishing via <code>git push -o no-publish</code> and fetching via <code>git push -o no-fetch</code>.
</li>
</ul>
<p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment