Skip to content

Commit a42d2e8

Browse files
committed
progress on help
1 parent cffc615 commit a42d2e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/test_builddocsite.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
run: |
6666
cd MDhelp
6767
mkdocs build
68-
ENABLE_PDF_EXPORT=1 mkdocs build
69-
mv site/GSASII-help.pdf ../docs/
68+
#ENABLE_PDF_EXPORT=1 mkdocs build
69+
#mv site/GSASII-help.pdf ../docs/
7070
# create an anchor index
7171
python findMDanchors.py
7272
cp -vr site ../help
@@ -132,17 +132,23 @@ jobs:
132132
repository: AdvancedPhotonSource/GSAS-II.git
133133
path: _gsas2
134134
ref: newhelp
135+
# token: ''
135136
# - name: Get GSAS-II
136137
# run: |
137138
# git clone --depth 1 https://github.com/AdvancedPhotonSource/GSAS-II.git _gsas2
138139
- name: move help into site
139140
run: |
141+
#rm -rf _gsas2/GSASII/help/assets/javascripts/
142+
rm -rf _gsas2/GSASII/help/assets/stylesheets/
140143
cp -rpv MDhelp/site/* _gsas2/GSASII/help
141144
cd _gsas2
142145
git status
146+
git diff
143147
git add GSASII/help
144148
echo "After add"
145149
git status
150+
git commit -m"update help files"
151+
git push
146152
147153
# before uploading, clean up
148154
- name: Get rid of the rest of the GSAS-II files & other stuff not needed on web

0 commit comments

Comments
 (0)