Update godot ci template to include web export/deploy.
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
+15
-2
@@ -3,15 +3,28 @@ labels:
|
|||||||
backend: docker
|
backend: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
export:
|
export-exe:
|
||||||
image: godot
|
image: godot
|
||||||
settings:
|
settings:
|
||||||
export_template: Windows Desktop
|
export_template: Windows Desktop
|
||||||
target: ${CI_REPO_NAME}.exe
|
target: ${CI_REPO_NAME}.exe
|
||||||
deploy:
|
export-web:
|
||||||
|
image: godot
|
||||||
|
settings:
|
||||||
|
export_template: Web
|
||||||
|
target: web/index.html
|
||||||
|
|
||||||
|
deploy-exe:
|
||||||
image: goat-deploy-plugin
|
image: goat-deploy-plugin
|
||||||
settings:
|
settings:
|
||||||
source: ${CI_REPO_NAME}.exe
|
source: ${CI_REPO_NAME}.exe
|
||||||
target: goat@oryx.egg:~/private.nanoyagi.com/${CI_REPO_NAME}/${CI_REPO_NAME}-${CI_COMMIT_BRANCH}.exe
|
target: goat@oryx.egg:~/private.nanoyagi.com/${CI_REPO_NAME}/${CI_REPO_NAME}-${CI_COMMIT_BRANCH}.exe
|
||||||
key:
|
key:
|
||||||
from_secret: deploy_key
|
from_secret: deploy_key
|
||||||
|
deploy-web:
|
||||||
|
image: goat-deploy-plugin
|
||||||
|
settings:
|
||||||
|
source: web
|
||||||
|
target: goat@oryx.egg:~/private.nanoyagi.com/${CI_REPO_NAME}/${CI_REPO_NAME}-${CI_COMMIT_BRANCH}-web
|
||||||
|
key:
|
||||||
|
from_secret: deploy_key
|
||||||
|
|||||||
Reference in New Issue
Block a user