Skip to content

Build and Deploy

Build and Deploy #4

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: All things angular
uses: AhsanAyaz/[email protected]
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} # see the Configuration section for how you can create secrets
build_configuration: production
base_href: / # make sure this corresponds to https://<your_username>.github.io/<base_href>/
deploy_branch: gh-pages # The branch the action should deploy to.
angular_dist_build_folder: www # The folder where your project is supposed to be after running ng build by the action.
permissions:
contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.