This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new 6b74085b132 [fix] cp .asf.yaml and version to build folder (#65)
6b74085b132 is described below
commit 6b74085b132af00d6cc276b110ad4c9b4a18d592
Author: Jeffrey <[email protected]>
AuthorDate: Wed Aug 24 16:05:32 2022 +0800
[fix] cp .asf.yaml and version to build folder (#65)
---
.asf-site.yaml | 19 +++++++++++++++++++
.github/workflows/manual-deploy-website.yml | 2 ++
2 files changed, 21 insertions(+)
diff --git a/.asf-site.yaml b/.asf-site.yaml
new file mode 100644
index 00000000000..cb5ff7187f3
--- /dev/null
+++ b/.asf-site.yaml
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+publish:
+ whoami: asf-site
\ No newline at end of file
diff --git a/.github/workflows/manual-deploy-website.yml
b/.github/workflows/manual-deploy-website.yml
index 46a33f9d0c1..acc93f443ed 100644
--- a/.github/workflows/manual-deploy-website.yml
+++ b/.github/workflows/manual-deploy-website.yml
@@ -39,6 +39,8 @@ jobs:
yarn cache clean
yarn && yarn build
touch build/.dummy
+ cp .asf-site.yaml ./build/.asf.yaml
+ cp versions.json ./build/
ls build
export DORIS_COMMIT=`git rev-parse HEAD`
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]