diff --git a/.github/workflows/surfer.yml b/.github/workflows/surfer.yml new file mode 100644 index 0000000..1a18e05 --- /dev/null +++ b/.github/workflows/surfer.yml @@ -0,0 +1,28 @@ +stages: + - build + - deploy + +variables: + GIT_SUBMODULE_STRATEGY: recursive + +build: + image: monachus/hugo + stage: build + script: + - hugo + artifacts: + paths: + - public + only: + - main + +deploy: + image: node:latest + stage: deploy + script: + - npm -g install cloudron-surfer + - surfer put --token $SURFER_KEY --server test.binarydigit.media public/* / + + only: + - main +