Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

handler runs Hugo twice if both theme and config have changed #11

@skyfaller

Description

@skyfaller

This task fails. Once we get this working, we should be able to update any Hugo sites that have changed. Then we should be able to automate hosting Hugo sites :)

Typical error:

TASK [sunrise : decide which sites to reload] ****************************************************************************************************************
fatal: [attenborough]: FAILED! => {"msg": "The conditional check 'item.changed == true' failed. The error was: error while evaluating conditional (item.changed == true): 'item' is undefined

The error appears to be in '/Users/nelson/Documents/GitHub/devops/roles/sunrise/tasks/hugo.yml': line 72, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: decide which sites to reload
  ^ here
"}

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