From 416974927822ba270dd8ced4cf8e07bc2e540ac5 Mon Sep 17 00:00:00 2001 From: Steven Lovegrove Date: Sat, 4 Sep 2021 19:24:41 -0700 Subject: [PATCH] Actions: Sync README.md to Github Pages www/index.md --- .github/workflows/build.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cbf1bc34..822ee76da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -111,6 +111,10 @@ jobs: mkdir -p ${{runner.workspace}}/www/emscripten rsync -zarvm --include="*/" --include="*.html" --include="*.js" --include="*.wasm" --exclude="*" ${{runner.workspace}}/pangolin-build/examples ${{runner.workspace}}/www/emscripten + - name: Copy README to www folder + run: | + cp $GITHUB_WORKSPACE/README.md ${{runner.workspace}}/www/index.md + - name: Deploy Examples to GitHub Pages (for pushes to master) if: success() && (github.ref == 'refs/heads/master') uses: crazy-max/ghaction-github-pages@v2.2.0