Skip to content

Production Build Cross-Compatibility #11

@brentspector

Description

@brentspector

Hello. I have found this action to be very useful in my automated workflow. However, I am looking to develop mobile apps using the same production codebase. Unfortunately, the vue.config.js will always insert the GH Pages sub-path whenever a production build is run. This causes the dist to be unusable for anything but GH Pages as other applications expect to use root.

At the moment this Github Action is the only thing that uses the sub-path. I would appreciate the ability to specify a build target rather than assume it's "npm run build". This would let me specify a new target that uses a mode other than "production" so that GH Pages gets the path it needs without polluting the other types of distributions.

Example in Vue - https://cli.vuejs.org/guide/mode-and-env.html#example-staging-mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions