You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by dj...@apache.org on 2020/08/26 22:17:09 UTC
[aries-antora] 02/02: correct name for .asf.yaml;
complete build-publish.sh
This is an automated email from the ASF dual-hosted git repository.
djencks pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/aries-antora.git
commit a1ef43b3b53484d6ea90f99ee29867abff6526f7
Author: David Jencks <dj...@apache.org>
AuthorDate: Wed Aug 26 15:16:00 2020 -0700
correct name for .asf.yaml; complete build-publish.sh
---
build-publish.sh | 3 ++-
package.json | 2 +-
supplemental-ui/{asf.yaml => .asf.yaml} | 0
supplemental-ui/ui.yml | 2 +-
4 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/build-publish.sh b/build-publish.sh
index a6ef2fe..e251d67 100644
--- a/build-publish.sh
+++ b/build-publish.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-#npm run clean-install
+npm run clean-install
rm -rf build
mkdir -p build/site
@@ -17,4 +17,5 @@ npm run build-noclean
cd build/site
git add .
git commit -m "site build"
+git push origin master
)
diff --git a/package.json b/package.json
index 2c75fd8..b041904 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"clean-build": "npm run clean-install;npm run build",
"clean-install": "rm -rf node_modules/ .cache/ package-lock.json;npm i --cache=.cache/npm",
"build": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch --clean;cp ./supplemental-ui/.htaccess ./build/site/",
- "build-noclean": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch;cp ./supplemental-ui/.htaccess ./build/site/"
+ "build-noclean": "node_modules/.bin/antora antora-playbook.yml --stacktrace --fetch;cp ./supplemental-ui/.htaccess ./build/site/;cp ./supplemental-ui/.asf.yaml ./build/site/"
},
"devDependencies": {
"@antora/cli": "^2.3.3",
diff --git a/supplemental-ui/asf.yaml b/supplemental-ui/.asf.yaml
similarity index 100%
rename from supplemental-ui/asf.yaml
rename to supplemental-ui/.asf.yaml
diff --git a/supplemental-ui/ui.yml b/supplemental-ui/ui.yml
index e44a39d..52aaf77 100644
--- a/supplemental-ui/ui.yml
+++ b/supplemental-ui/ui.yml
@@ -1,3 +1,3 @@
static_files:
- .htaccess
-- asf.yml
+- .asf.yml