Skip to content

Commit 3e2ab9f

Browse files
Deploy
1 parent 2348ac3 commit 3e2ab9f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Deployment
13+
uses: AhsanAyaz/angular-deploy-gh-pages-actions
14+
with:
15+
github_access_token: ${{ secrets.ACCESS_TOKEN }} # see the Configuration section for how you can create secrets
16+
build_configuration: staging # The build environment for the app. please look configurations in your angular.json
17+
base_href: /angular-testing/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/
18+
deploy_branch: gh-pages # The branch the action should deploy to.
19+
build_folder: dist/angular-testing # The folder where your project is supposed to be after running ng build by the action.

0 commit comments

Comments
 (0)