mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 19:40:18 +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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
@ -33,3 +35,4 @@ jobs:
|
|||||||
build_dir: docs/.retype
|
build_dir: docs/.retype
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
if: github.ref == 'refs/heads/main'
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
try:
|
||||||
|
import os
|
||||||
|
except ImportError:
|
||||||
|
exit(0)
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
is_pkpy = not hasattr(sys, 'getrefcount')
|
is_pkpy = not hasattr(sys, 'getrefcount')
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
try:
|
||||||
|
import os
|
||||||
|
except ImportError:
|
||||||
|
exit(0)
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
_2489KB = 'WorldMap_GridVania_layout.ldtk'
|
_2489KB = 'WorldMap_GridVania_layout.ldtk'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user