Skip to content

Provided Github Action fails without config.toml #4

@Asher-Meachum

Description

@Asher-Meachum

Attempting to use the Github Action YML provided in the README results in a failure:

Status: Downloaded newer image for ghcr.io/getzola/zola:v0.22.0
Building site...
ERROR config.toml not found in current directory or ancestors, current_dir is /workspace
Error: Process completed with exit code 1.

For the specific project configuration, you can see it at Asher-Meachum/Asher-Meachum.github.io with the following modifications commit 2f92b68:

  • config.toml does not exist
  • .github/workflows/main.yml contains the contents of the README, rather than what it shows there.

I was able to resolve this specific problem by creating a hard symlink from config.toml to zola.toml (ln zola.toml config.toml).
This appears to be similar to Issue #3.
I have not tested the fix provided (update to v0.22.1 and change action to v1) there to see if it transfers templates, but will follow up once I do so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions