1
0
mirror of https://github.com/sasjs/core.git synced 2026-06-09 04:10:20 +00:00

Compare commits

...

2 Commits

3 changed files with 23 additions and 5 deletions
+17 -2
View File
@@ -71,5 +71,20 @@ jobs:
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y doxygen sudo apt-get install -y doxygen
export GITHUB_TOKEN=${{ secrets.CORESASJSIO_PAT }} npx @sasjs/cli doc -t docsonly
npm run docs git clone https://x-access-token:${{ secrets.CORESASJSIO_PAT }}@github.com/sasjs/core.github.io.git
cd core.github.io
rm -rf *.html
rm -rf *.js
rm -rf *.png
rm -rf *.dot
rm -rf *.css
rm -rf *.svg
rm -rf search
cp -R ../sasjsbuild/docs/* .
git config user.name sasjs
echo 'core.sasjs.io' > CNAME
git add .
git commit -m "core pipeline build on $(date +%F:%H:%M:%S)"
git push
echo "check it out: https://sasjs.github.io/core.github.io/files.html"
+5 -2
View File
@@ -31,5 +31,8 @@
"test": "npx @sasjs/cli test -t server", "test": "npx @sasjs/cli test -t server",
"lint": "npx @sasjs/cli lint", "lint": "npx @sasjs/cli lint",
"prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true" "prepare": "git rev-parse --git-dir && git config core.hooksPath ./.git-hooks || true"
} },
} "maintainers": [
"https://sasapps.io"
]
}
+1 -1
View File
@@ -8,7 +8,7 @@
# refresh github pages site # refresh github pages site
rm -rf sasjsbuild/docsite rm -rf sasjsbuild/docsite
git clone https://x-access-token:$GITHUB_TOKEN@github.com/sasjs/core.github.io.git sasjsbuild/docsite git clone git@github.com:sasjs/core.github.io.git sasjsbuild/docsite
rm -rf sasjsbuild/docsite/*.html rm -rf sasjsbuild/docsite/*.html
rm -rf sasjsbuild/docsite/*.js rm -rf sasjsbuild/docsite/*.js
rm -rf sasjsbuild/docsite/*.png rm -rf sasjsbuild/docsite/*.png