Skip to content

Commit

Permalink
Add push step in
Browse files Browse the repository at this point in the history
  • Loading branch information
briantoby committed Apr 10, 2024
1 parent 96a70d2 commit 09de954
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,27 +22,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Get tutorials index
- name: Get tutorials index from source code
run: |
curl -L https://github.com/AdvancedPhotonSource/GSAS-II/raw/master/GSASII/tutorialIndex.py -o scripts/tutorialIndex.py
ls -lt scripts
pwd
- name: save old tutorials index
run: |
cp tutorials.html tutorials.html.original
- name: build tutorials index
run: |
cd scripts
python makeGitTutorial.py ..
- name: see changes
run: |
git diff
- name: prepare to push changes back
run: |
git add tutorials.html
git add */index.html
git status
- name: Push changes
uses: ad-m/github-push-action@master

0 comments on commit 09de954

Please sign in to comment.