diff --git a/.github/workflows/pr_to_gh_page_repo.yml b/.github/workflows/pr_to_gh_page_repo.yml index 0ffb965af..6a041a8a9 100644 --- a/.github/workflows/pr_to_gh_page_repo.yml +++ b/.github/workflows/pr_to_gh_page_repo.yml @@ -18,11 +18,11 @@ jobs: - name: copy Bundle run: | - mkdir -p $GITHUB_WORKSPACE/artifact + mkdir -p ~/home/artifact cp dist/*.wasm $GITHUB_WORKSPACE/artifact cp dist/*.js $GITHUB_WORKSPACE/artifact cp dist/*.txt $GITHUB_WORKSPACE/artifact - ls $GITHUB_WORKSPACE/artifact >> $GITHUB_STEP_SUMMARY + ls ~/home/artifact >> $GITHUB_STEP_SUMMARY - name: set up SSH uses: shimataro/ssh-key-action@v2 @@ -47,9 +47,9 @@ jobs: # port in the changes rm -r ui/src/static mkdir ui/src/static - cp $GITHUB_WORKSPACE/artifact/*.wasm ui/src/static - cp $GITHUB_WORKSPACE/artifact/*.js ui/src/static - cp $GITHUB_WORKSPACE/artifact/playground.js.LICENSE.txt ui/playground.js.LICENSE.txt + cp ~/home/artifact/*.wasm ui/src/static + cp ~/home/artifact/*.js ui/src/static + cp ~/home/artifact/playground.js.LICENSE.txt ui/playground.js.LICENSE.txt git add .