Skip to content

still more tutorials build work #5

still more tutorials build work

still more tutorials build work #5

Workflow file for this run

# this is a start in running the makegittutorials.py script
#
# TODO: add run of scripts/makeGitTutorial here. Requires access to
# GSASII source code (via import of GSASIIctrlGUI or could pull TutorialIndex
# out for direct import here)
#
name: build tutorials web index
#on: [push, pull_request, workflow_dispatch]
#on: [push, workflow_dispatch] # why build on pull request?
on: [workflow_dispatch]
permissions:
contents: write
id-token: write
jobs:
create: # creates a the tutorials.html web page
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get tutorials index
run: |
curl -L https://github.com/AdvancedPhotonSource/GSAS-II/blob/master/GSASII/tutorialIndex.py -o scripts/tutorialIndex.py
ls -lt scripts
pwd
- name: build tutorials index
run: |

Check failure on line 32 in .github/workflows/tutorials.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tutorials.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
cp tutorials.html tutorials.html.original
git status
cd scripts
python makeGitTutorial.py
git status
cd ..
git add tutorials.html
git status
diff tutorials.html tutorials.html.original