Skip to content

Automatically build app on push #7

@itsalaidbacklife

Description

@itsalaidbacklife

cuttle-bot is hosted on github pages and the app is served out of the docs folder. Currently, deploying the app requires manually running the build command, copying the dist output into docs, committing the change, and pushing to master. We should automate this process so that merges into master are automatically deployed (similar to the main cuttle repo). To do so, we should:

  1. Update angular.json so the build outpath is docs instead of it's current dist (this way builds are put in the correct folder)
  2. Add a new .github/workflows/build.yml action file that runs whenever a commit is made to any branch exceptmaster and runs the build command, commits the changes, and pushes them to the current branch. This way when we merge into master, the commit will include the build of the latest source and this will automatically update the deployment

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