-
Notifications
You must be signed in to change notification settings - Fork 2
19 lines (18 loc) · 804 Bytes
/
deploy.yml
File metadata and controls
19 lines (18 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Build and Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deployment
uses: AhsanAyaz/angular-deploy-gh-pages-actions
with:
github_access_token: ${{ secrets.ACCESS_TOKEN }} # see the Configuration section for how you can create secrets
build_configuration: staging # The build environment for the app. please look configurations in your angular.json
base_href: /angular-testing/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/
deploy_branch: gh-pages # The branch the action should deploy to.
build_folder: dist/angular-testing # The folder where your project is supposed to be after running ng build by the action.