Skip to content

Commit 9f40c96

Browse files
committed
work on remote update to help
1 parent 0aec693 commit 9f40c96

File tree

1 file changed

+13
-17
lines changed

1 file changed

+13
-17
lines changed

.github/workflows/update_help_test.yml renamed to .github/workflows/update_help.yml

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: xfer help info from GSAS-II docs repo
2+
# This updates the help file to match the contents of the MDhelp directory
3+
# in the GSAS-II-tutorials repo. It is triggered from the builddocsite.yml
4+
# workflow in the GSAS-II-tutorials repo.
25

36
on:
4-
workflow_dispatch:
5-
6-
push:
7-
branches:
8-
- newhelp
7+
repository_dispatch: # run from Web API
8+
#workflow_dispatch:
99

1010
permissions:
1111
contents: write
@@ -34,32 +34,28 @@ jobs:
3434
with:
3535
repository: AdvancedPhotonSource/GSAS-II-tutorials.git
3636
path: _docs
37-
ref: newhelp
38-
# token: ''
3937

4038
# MD help conversion
4139
- name: convert MDhelp
4240
run: |
43-
pwd
4441
cd _docs/MDhelp
4542
mkdocs build
4643
python findMDanchors.py # create an anchor index
4744
rm -rf ../../GSASII/help/assets/javascripts/
4845
rm -rf ../../GSASII/help/assets/stylesheets/
4946
cp -vr site/* ../../GSASII/help
5047
51-
- name: git diagnostics
52-
run: |
53-
pwd
54-
git status
55-
git diff
56-
git add GSASII/help
57-
echo "After add"
58-
git status
48+
# - name: git diagnostics
49+
# run: |
50+
# pwd
51+
# git status
52+
# git diff
53+
# git add GSASII/help
54+
# echo "After add"
55+
# git status
5956

6057
- name: commit changes
6158
run: |
62-
pwd
6359
git add GSASII/help
6460
git config user.name "github-actions[bot]"
6561
git config user.email "github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)