diff --git a/.woodpecker.yml b/.woodpecker.yml new file mode 100644 index 0000000..b742690 --- /dev/null +++ b/.woodpecker.yml @@ -0,0 +1,18 @@ +labels: + platform: linux/amd64 + backend: docker + +steps: + export-web: + image: godot + settings: + export_template: Web + target: web/index.html + deploy-web: + image: goat-deploy-plugin + settings: + source: web/* + pre: mkdir -p ~/private.nanoyagi.com/${CI_REPO_NAME}/${CI_COMMIT_BRANCH} + target: goat@oryx.egg:~/private.nanoyagi.com/${CI_REPO_NAME}/${CI_COMMIT_BRANCH} + key: + from_secret: deploy_key