mirror of
https://github.com/pyscript/pyscript.git
synced 2026-02-19 07:01:11 -05:00
Fix path variable (#1710)
* Fix sed delimiter for html generation * Fix [[PATH]] to _PATH * Fix sed command
This commit is contained in:
4
.github/workflows/next-build-snapshot.yml
vendored
4
.github/workflows/next-build-snapshot.yml
vendored
@@ -54,9 +54,7 @@ jobs:
|
||||
|
||||
- name: Generate index.html in snapshot
|
||||
working-directory: .
|
||||
run: |
|
||||
cp ./public/index.html ./pyscript.core/dist/index.html
|
||||
sed -i 's#[[PATH]]#https://pyscript.net/snapshots/${{ inputs.snapshot_version }}/#' ./pyscript.core/dist/index.html
|
||||
run: sed 's#_PATH_#https://pyscript.net/snapshots/${{ inputs.snapshot_version }}/#' ./public/index.html > ./pyscript.core/dist/index.html
|
||||
|
||||
- name: Copy to Snapshot
|
||||
working-directory: ./pyscript.core/dist
|
||||
|
||||
Reference in New Issue
Block a user