Flywheel Image

I recommend Flywheel for all my customers who are going down the WordPress route.
 
It's a no brainer.

Find out more
DigitalOcean Image

When I need more control over my stack, I use DigitalOcean. It's one of the best around and it's cheap too!

Find out more

GitHub Actions Hackathon - Working on the bash

After the last error it was clear that it wasn't finding the .sh script in the Action. To resolve this I've amended the .yml and changed where to find the bash file - pointing it to the root instead.

After testing, the error had changed to say Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '[dir]'. Did you forget to run actions/checkout before running your local action?. As far as I know I'm running the checkout correctly but it's a new error to tackle... we seem to be getting somewhere.

Just to make sure I've checked the logs and it is indeed checking out the Repo okay. I've read up some more and it seems like I might need a Dockerfile, which I've now created using this from the documentation which will run Linux. I've also renamed the main.yml to action.yml.

Docker error - "exec: \"/create.sh\": permission denied

I've been working directly in the GitHub repo for this build so far. To resolve this I'm going to pull this down to my machine and update the permissions on this .sh file.

Major progress! One more issue to fix.

That's done it. The Docker container get's build successfully and the directory and files are created. The only remaining issue is /create.sh: line 5: npm: not found.


More in this series