You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2020/12/27 14:46:43 UTC
[skywalking-website] branch master updated: Add doc about manual
deployment. (#186)
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-website.git
The following commit(s) were added to refs/heads/master by this push:
new 74c69a8 Add doc about manual deployment. (#186)
74c69a8 is described below
commit 74c69a88fd9762f6e5f67b1c8e4af90a6fa8322c
Author: 吴晟 Wu Sheng <wu...@foxmail.com>
AuthorDate: Sun Dec 27 22:46:35 2020 +0800
Add doc about manual deployment. (#186)
---
.github/workflows/deploy.yaml | 7 ++++---
README.md | 3 +--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml
index 1ca179c..dea734b 100644
--- a/.github/workflows/deploy.yaml
+++ b/.github/workflows/deploy.yaml
@@ -13,11 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-name: deploy site
+name: Build site
on:
+ pull_request:
push:
- branches:
+ branches:
- master
jobs:
@@ -33,7 +34,7 @@ jobs:
tar xvf hugo_extended_0.74.3_Linux-64bit.tar.gz
sudo mv hugo /usr/bin/
npm install -D --save postcss-cli
- npm install -D --save autoprefixer
+ npm install -D --save autoprefixer
npm install -D --save postcss
npm i
diff --git a/README.md b/README.md
index 0bfea92..b738cdf 100755
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ This site was compiled using [Hugo](https://gohugo.io).
1. Install hugo
1. Pull this repo into your local environment, and run `hugo server` at the root folder, you can see the site preview from http://localhost:1313
-1. To generate the static website, run `hugo`
+1. To generate the static website, run `hugo`. According to ASF policy, the deployment has to be manually done by a committer. Use the generated `public` folder to update the `asf-site` branch, and push the updates to the upstream.
## Contributing
@@ -93,4 +93,3 @@ The website configuration file located at `config.toml`.
### Images
The images within the blogs, events and 中文博客 should keep at the same folder as the blog file, and you should reference that with the relative path.
-