mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
fix CI error
This commit is contained in:
parent
176c829fc1
commit
0895145529
3
.github/workflows/website.yml
vendored
3
.github/workflows/website.yml
vendored
@ -3,6 +3,8 @@ name: website
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
@ -33,3 +35,4 @@ jobs:
|
||||
build_dir: docs/.retype
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
@ -1,3 +1,8 @@
|
||||
try:
|
||||
import os
|
||||
except ImportError:
|
||||
exit(0)
|
||||
|
||||
import sys
|
||||
is_pkpy = not hasattr(sys, 'getrefcount')
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
try:
|
||||
import os
|
||||
except ImportError:
|
||||
exit(0)
|
||||
|
||||
import json
|
||||
|
||||
_2489KB = 'WorldMap_GridVania_layout.ldtk'
|
||||
|
Loading…
x
Reference in New Issue
Block a user