You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all, as said, I'm really struggling to deploy my Cookiecutter application to Digital Ocean with GitHub Actions and Docker.
I utilized the GitHub Actions project option, and the CI runs as expected.
I have a staging service that builds and updates my containers to GitHub Actions. This succeeds.
The issue is when I deploy, I pull my containers from GitHub Actions into my DigitalOcean droplet and copy the production.yml file. However, when I run it, the relative paths fail to find all the necessary nested files (Dockerfiles, gulpfile.js, etc.) I manually imported my .envs folder from GitHub secrets.
I followed this demo and modified the code to suit my project.
The relevant .yml files are listed below. Any help on overcoming this very persistent bottleneck is much appreciated. I am very new to docker, let alone a complicated project structure like this one.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all, as said, I'm really struggling to deploy my Cookiecutter application to Digital Ocean with GitHub Actions and Docker.
I utilized the GitHub Actions project option, and the CI runs as expected.
I have a staging service that builds and updates my containers to GitHub Actions. This succeeds.
The issue is when I deploy, I pull my containers from GitHub Actions into my DigitalOcean droplet and copy the production.yml file. However, when I run it, the relative paths fail to find all the necessary nested files (Dockerfiles, gulpfile.js, etc.) I manually imported my .envs folder from GitHub secrets.
I followed this demo and modified the code to suit my project.
The relevant .yml files are listed below. Any help on overcoming this very persistent bottleneck is much appreciated. I am very new to docker, let alone a complicated project structure like this one.
Thanks.
cd.yml part 1
staging.yml (a copy of the production.yml generated by Cookiecutter)
production.yml (my current version of it, I have edited this several different ways to try to get it to work)
Beta Was this translation helpful? Give feedback.
All reactions