Skip to content

Commit

Permalink
correct name for .asf.yaml; complete build-publish.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
djencks committed Aug 26, 2020
1 parent f7791f0 commit a1ef43b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion build-publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

#npm run clean-install
npm run clean-install

rm -rf build
mkdir -p build/site
Expand All @@ -17,4 +17,5 @@ npm run build-noclean
cd build/site
git add .
git commit -m "site build"
git push origin master
)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion supplemental-ui/ui.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
static_files:
- .htaccess
- asf.yml
- .asf.yml

0 comments on commit a1ef43b

Please sign in to comment.