docs: add .asf.yaml (#15931)

* docs: add asf.yaml

* license

* fix
This commit is contained in:
ʈᵃᵢ 2021-07-28 12:32:03 -07:00 committed by GitHub
parent bfe7eb9a7b
commit 7b503fa710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 1 deletions

22
docs/.asf.yaml Normal file
View File

@ -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

View File

@ -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}\"",