2323
2424permissions :
2525 contents : write
26+ pull-requests : write
2627 id-token : write
2728 pages : write
2829
@@ -40,12 +41,13 @@ jobs:
4041 # - name: pandoc setup
4142 # uses: pandoc/actions/setup@v1
4243
43- # MD help tools
44- - name : install debian chrome
45- run : |
46- set -ex
47- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
48- sudo apt install ./google-chrome-stable_current_amd64.deb
44+ # Code below removed for more rapid testing
45+ # # MD help tools
46+ # - name: install debian chrome
47+ # run: |
48+ # set -ex
49+ # wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
50+ # sudo apt install ./google-chrome-stable_current_amd64.deb
4951
5052# - name: test newly-installed chrome
5153# run: |
7880 # name: MDhelp
7981 # retention-days: 1
8082
81- - name : Get tutorials index from source code
82- run : |
83- curl -L https://github.com/AdvancedPhotonSource/GSAS-II/raw/master/GSASII/tutorialIndex.py -o scripts/tutorialIndex.py
83+ # Code below removed for more rapid testing
84+ # - name: Get tutorials index from source code
85+ # run: |
86+ # curl -L https://github.com/AdvancedPhotonSource/GSAS-II/raw/master/GSASII/tutorialIndex.py -o scripts/tutorialIndex.py
8487
8588# Code below removed for more rapid testing
8689 # - name: convert tutorials
@@ -133,9 +136,6 @@ jobs:
133136 path : _gsas2
134137 ref : newhelp
135138# token: ''
136- # - name: Get GSAS-II
137- # run: |
138- # git clone --depth 1 https://github.com/AdvancedPhotonSource/GSAS-II.git _gsas2
139139 - name : move help into site
140140 run : |
141141 #rm -rf _gsas2/GSASII/help/assets/javascripts/
@@ -148,6 +148,11 @@ jobs:
148148 echo "After add"
149149 git status
150150 git commit -m"update help files"
151+ - name : push help into site
152+ run : |
153+ cd _gsas2
154+ git config user.name "github-actions[bot]"
155+ git config user.email "github-actions[bot]@users.noreply.github.com"
151156 git push
152157
153158 # before uploading, clean up
0 commit comments