aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gh-pages.sh
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-14 16:24:12 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-14 16:57:34 +0800
commitaeddda360000222225e257fa139c2a8b807a2f0d (patch)
treeed27c6732a84808e9acb4668db856dd28f1b109a /scripts/gh-pages.sh
parent5d4a43abb181ae4fd63d2365210ea4949f10012e (diff)
chore: improve scripts about build
Diffstat (limited to 'scripts/gh-pages.sh')
-rwxr-xr-xscripts/gh-pages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gh-pages.sh b/scripts/gh-pages.sh
index e44bab4..a091820 100755
--- a/scripts/gh-pages.sh
+++ b/scripts/gh-pages.sh
@@ -1,6 +1,6 @@
1#!/bin/bash 1#!/bin/bash
2 2
3git checkout -- .gitignore index.html && \ 3git checkout gh-pages -- .gitignore index.html && \
4npm run build && npm run docs && \ 4npm run build && npm run docs && \
5git branch --force gh-pages HEAD && \ 5git branch --force gh-pages HEAD && \
6git checkout gh-pages && \ 6git checkout gh-pages && \