From 40b1bcd7f531f50f54610e2acefcc6508908b127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CA=88=E1=B5=83=E1=B5=A2?= Date: Wed, 28 Jul 2021 12:32:03 -0700 Subject: [PATCH] docs: add .asf.yaml (#15931) * docs: add asf.yaml * license * fix --- docs/.asf.yaml | 22 ++++++++++++++++++++++ docs/package.json | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 docs/.asf.yaml diff --git a/docs/.asf.yaml b/docs/.asf.yaml new file mode 100644 index 0000000000000..6d232bb2ad1c2 --- /dev/null +++ b/docs/.asf.yaml @@ -0,0 +1,22 @@ +# 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 + +staging: + whoami: asf-site diff --git a/docs/package.json b/docs/package.json index 9458f576d0ed6..32559144facb3 100644 --- a/docs/package.json +++ b/docs/package.json @@ -52,7 +52,7 @@ ], "license": "0BSD", "scripts": { - "build": "gatsby build && cp .htaccess public/", + "build": "gatsby build && cp .htaccess .asf.yaml public/", "develop": "gatsby develop", "develop-ga": "GATSBY_GTAG_DEBUG=true gatsby develop", "format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md,mdx}\"",