Skip to content

Add a deploy-path action #401

@scytacki

Description

@scytacki

It would be useful to have a sub action which just computes the deploy path and returns it as an output.
From what I can tell you can put multiple action.yml files in the repository. So this could be done by making a deploy-path/action.yml file. This file can then refer to the javascript using relative paths.

The action would be used like:

uses: concord-consortium/s3-deploy-action/deploy-path@v1

The reason for this is so there can be a single build job which includes the DEPLOY_PATH env variable. Then the result of this build is cached and shared by all of the following jobs including the deploy job. In some of our repositories the building can take over 2 minutes. Currently this 2 minutes happens on a build job, each of the cypress jobs, and the deploy job.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions