Hello,
I am trying to deploy Hugo automatically with CI/CD.
I am trying to clone a repository with `https://code.forgejo.org/actions/checkout`, this works fine.
Now I am trying to build my hugo website in the same workflow.
I am pulling the docker image of hugo `ghcr.io/gohugo/hugo`, this also works fine as a separate step, but when trying to combine the both tasks it fails with:
::error::Unable to locate executable file: ssh. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
My explanation for this is that the workflow only loads the docker image, and nothing else and only has access to the `hugo` command.
Here is the section of my workflow hugo.yaml:
jobs:
clone:
runs-on: ...
container:
image: ghcr.io/gohugoio/hugo:v0.155.3@sha256:a97a8429a9226bbf8fbbc98e418723b071d9b113222a8bc947511e9b4043e58d
credentials:
...
steps:
- name: Clone the repository
uses: https://code.forgejo.org/actions/checkout@v6
with:
How do I provide my container with the `hugo` command, but also make it a normal container?