Commit 380f5ca 1 parent 6502652 commit 380f5ca Copy full SHA for 380f5ca
File tree 6 files changed +109
-0
lines changed
6 files changed +109
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : " Publish to GitHub Pages"
2
+
3
+ env :
4
+ GODOT_VERSION : 4.3
5
+
6
+ on :
7
+ workflow_dispatch :
8
+ push :
9
+ branches :
10
+ - main
11
+
12
+ jobs :
13
+ deploy :
14
+ runs-on : ubuntu-latest
15
+ permissions :
16
+ contents : write
17
+
18
+ container :
19
+ image : barichello/godot-ci:4.3
20
+
21
+ steps :
22
+ - name : Checkout
23
+ uses : actions/checkout@v4
24
+
25
+ - name : Move HTML5 templates into position
26
+ run : |
27
+ mkdir -v -p ~/.local/share/godot/export_templates
28
+ mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
29
+ - name : Create staging directory
30
+ run : mkdir -v -p build/web
31
+
32
+ - name : Build
33
+ run : godot -v --export-release --headless "Web" ../build/web/index.html project/project.godot
34
+
35
+ - name : Add coi-service-worker
36
+ run : |
37
+ git clone https://github.com/gzuidhof/coi-serviceworker.git
38
+ mv coi-serviceworker/coi-serviceworker.js build/web/coi-serviceworker.js
39
+ sed -i '3 i <script src="coi-serviceworker.js"></script>' build/web/index.html
40
+ - name : Deploy
41
+
42
+ with :
43
+ github_token : ${{ secrets.GITHUB_TOKEN }}
44
+ publish_dir : ./build/web
45
+ force_orphan : true
46
+ user_name : " github-ci[bot]"
47
+ user_email : " github-actions[bot]@users.noreply.github.com"
48
+ commit_message : " Publish to gh-pages"
Original file line number Diff line number Diff line change
1
+ /project /.godot /
2
+ /project /addons /
3
+ /.idea /
Original file line number Diff line number Diff line change
1
+ [remap]
2
+
3
+ importer="texture"
4
+ type="CompressedTexture2D"
5
+ uid="uid://d4kx7gjcpatmf"
6
+ path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
7
+ metadata={
8
+ "vram_texture": false
9
+ }
10
+
11
+ [deps]
12
+
13
+ source_file="res://icon.svg"
14
+ dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"]
15
+
16
+ [params]
17
+
18
+ compress/mode=0
19
+ compress/high_quality=false
20
+ compress/lossy_quality=0.7
21
+ compress/hdr_compression=1
22
+ compress/normal_map=0
23
+ compress/channel_pack=0
24
+ mipmaps/generate=false
25
+ mipmaps/limit=-1
26
+ roughness/mode=0
27
+ roughness/src_normal=""
28
+ process/fix_alpha_border=true
29
+ process/premult_alpha=false
30
+ process/normal_map_invert_y=false
31
+ process/hdr_as_srgb=false
32
+ process/hdr_clamp_exposure=false
33
+ process/size_limit=0
34
+ detect_3d/compress_to=1
35
+ svg/scale=1.0
36
+ editor/scale_with_editor_scale=false
37
+ editor/convert_colors_with_editor_theme=false
Original file line number Diff line number Diff line change
1
+ ; Engine configuration file.
2
+ ; It's best edited using the editor UI and not directly,
3
+ ; since the parameters that go here are not all obvious.
4
+ ;
5
+ ; Format:
6
+ ; [section] ; section goes between []
7
+ ; param=value ; assign values to parameters
8
+
9
+ config_version =5
10
+
11
+ [application ]
12
+
13
+ config/name ="Ping"
14
+ config/features =PackedStringArray ("4.3" , "GL Compatibility" )
15
+ config/icon ="res://icon.svg"
16
+
17
+ [rendering ]
18
+
19
+ renderer/rendering_method ="gl_compatibility"
20
+ renderer/rendering_method.mobile ="gl_compatibility"
You can’t perform that action at this time.
0 commit comments