fix CI error

This commit is contained in:
blueloveTH 2024-01-20 23:06:09 +08:00
parent 176c829fc1
commit 0895145529
3 changed files with 13 additions and 0 deletions

View File

@ -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'

View File

@ -1,3 +1,8 @@
try:
import os
except ImportError:
exit(0)
import sys
is_pkpy = not hasattr(sys, 'getrefcount')

View File

@ -1,3 +1,8 @@
try:
import os
except ImportError:
exit(0)
import json
_2489KB = 'WorldMap_GridVania_layout.ldtk'