Skip to content

Commit 4169749

Browse files
Actions: Sync README.md to Github Pages www/index.md
1 parent 43c608c commit 4169749

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ jobs:
111111
mkdir -p ${{runner.workspace}}/www/emscripten
112112
rsync -zarvm --include="*/" --include="*.html" --include="*.js" --include="*.wasm" --exclude="*" ${{runner.workspace}}/pangolin-build/examples ${{runner.workspace}}/www/emscripten
113113
114+
- name: Copy README to www folder
115+
run: |
116+
cp $GITHUB_WORKSPACE/README.md ${{runner.workspace}}/www/index.md
117+
114118
- name: Deploy Examples to GitHub Pages (for pushes to master)
115119
if: success() && (github.ref == 'refs/heads/master')
116120
uses: crazy-max/ghaction-github-pages@v2.2.0

0 commit comments

Comments
 (0)