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 2021/07/27 15:05:06 UTC

[skywalking-website] branch master updated: Deployment config file (#310)

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 3a65699  Deployment config file (#310)
3a65699 is described below

commit 3a6569968516e210998ca4c35e4416cbdcc1a643
Author: Juntao Zhang <71...@qq.com>
AuthorDate: Tue Jul 27 10:04:54 2021 -0500

    Deployment config file (#310)
---
 .asf.yaml    | 2 ++
 package.json | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..08e79d7
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,2 @@
+publish:
+  whoami: asf-site
\ No newline at end of file
diff --git a/package.json b/package.json
index 75ccbda..038af69 100644
--- a/package.json
+++ b/package.json
@@ -5,9 +5,10 @@
   "main": "none.js",
   "scripts": {
     "build": "npm install && hugo",
-    "build-with-docs": "npm install && npm run docs && npm run team && hugo && cp ./.htaccess ./public",
+    "build-with-docs": "npm install && npm run docs && npm run team && hugo && npm run cp",
     "docs": "node ./docs.js",
     "team": "node ./scripts/team.js",
+    "cp": "cp ./.htaccess ./public && cp ./.asf.yaml ./public",
     "test": "echo \"Error: no test specified\" && exit 1"
   },
   "repository": {