Skip to content

Add a way to force deploy via environment variable #1984

Closed
@bahmutov

Description

@bahmutov

Currently docs do not deploy if there are no source file changes. One can override it and force the deploy using CLI argument --force

const isForced = process.argv.some(equals('--force'))

But this is not working on CI. So let's add an environment variable that we can check to force the deploy. We then can use this variable temporarily to force deploy from Circle.

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