diff --git a/.tangled/workflows/deploy.yml b/.tangled/workflows/deploy.yml new file mode 100644 index 0000000..804824f --- /dev/null +++ b/.tangled/workflows/deploy.yml @@ -0,0 +1,24 @@ +# .tangled/workflows/deploy.yml + +when: + - event: ['push'] + branch: ['main'] + - event: ['manual'] + +engine: 'nixery' + +dependencies: + nixpkgs: + - curl + +steps: + - name: deploy to wisp + command: | + curl https://sites.wisp.place/nekomimi.pet/wisp-cli-binaries/wisp-cli-x86_64-linux -o wisp-cli + chmod +x wisp-cli + + ./wisp-cli \ + "danielmorrisey.com" \ + --path "." \ + --site "danielmorrisey" \ + --password "$WISP_APP_PASSWORD" \ No newline at end of file