123 #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Angular Deploy gh-pages Actions | |
uses: AhsanAyaz/[email protected] | |
with: | |
github_access_token: ${{ secrets.ZGITHUB_TOKEN }} # see the Configuration section for how you can create secrets | |
build_configuration: development # The build environment for the app. please look configurations in your angular.json | |
base_href: tax-calculator/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/ | |
deploy_branch: master # The branch the action should deploy to. | |
angular_dist_build_folder: docs # 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. |