添加发布到线上说明

This commit is contained in:
soul-walker 2024-05-30 10:26:20 +08:00
parent 05b5a6f8e4
commit efc99e4b7c
5 changed files with 77 additions and 0 deletions

View File

@ -5,3 +5,12 @@
- scene_loader.tscn: 作为入口场景主要用于根据URL参数加载对应的实训场景
- /trainings: 目录下为实训场景
- /addons: 目录为第三方插件/工具
## 发布到线上工作流
1. 本地使用导出功能导出Web到target/index.html
2. 本地使用如7z压缩工具将导出的target目录添加到压缩文件格式选tar为target.tar
3. 在gitea项目管理界面版本发布处发布新版
![alt text](image.png)
标签名称、发布标题和版本描述按实际填写然后将打包的target.tar拖拽上传完成后点击发布版本
![alt text](image-1.png)
4. 上面发布版本后会触发gitea action工作流执行发不到线上

BIN
image-1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

34
image-1.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bje4ghm8jm6k2"
path="res://.godot/imported/image-1.png-dbab14dd40403047ee602a1bb16c5f26.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://image-1.png"
dest_files=["res://.godot/imported/image-1.png-dbab14dd40403047ee602a1bb16c5f26.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
image.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

34
image.png.import Normal file
View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cbggvmes7qsi3"
path="res://.godot/imported/image.png-2de165adb17dfebcee8a7cd6c9833936.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://image.png"
dest_files=["res://.godot/imported/image.png-2de165adb17dfebcee8a7cd6c9833936.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1