Skip to content

Added more doc to plotROIDriver example. #72

Added more doc to plotROIDriver example.

Added more doc to plotROIDriver example. #72

Workflow file for this run

name: Concatenate Source and Readme
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Concatenate Files
run: |
cd ${{ github.workspace }}
find . -name '*.m' -o -name '*.md' | while read -r file; do
echo "$file" >> all_source.txt
cat "$file" >> all_source.txt
echo >> all_source.txt
done
- name: Setup Git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "actions@github.com"
- name: Commit Files
run: |
git checkout -B gh-pages main
git reset --hard origin/main
git rm -rf .
git checkout main -- README.md # Explicitly checkout the latest README.md from main
git add README.md all_source.txt
git commit -m "Updating all source and README"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages