Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I created a spec.yaml file with the line source_dir: src in it. I created my app and pushed it with doctl apps create --spec spec.yaml - all good so far.
After a few minutes the build failed, saying it couldn’t find a file that exists in the repo I pointed the spec to, but not within the src folder. Ok this makes sense: source_dir should just be the whole folder in my case, rather than src.
I tried to repair this by:
source_dir line the yaml filesource_dir: ./ and then source_dir: /Every change correctly restarted the build when I pushed it to my repo, so:
github:
branch: main
deploy_on_push: true
In the spec was working well.
On every rebuild, the $SOURCE_DIR = src remained, and indeed I’d see Using build context /workspace/src in the logs, and get the error again.
I expected one of my attempts to correctly set $SOURCE_DIR to give a build context of just /workspace.
Perhaps the github setup is correctly causing DO to listen to my repo, but not to update the spec itself.
Or there’s just some bad caching happening, and even my attempts to set source_dir in the spec didn’t work because they were invalid
I deleted the app, removed the line from the spec and relaunched it. That worked.
a6309a057c3f4cb38fb2e7feb67236
KFSys
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin