Skip to content

Commit 82750d8

Browse files
Deploy Pages
1 parent 9a43581 commit 82750d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,12 @@ jobs:
2121
run: npm run build -- --prod
2222
- name: Test
2323
run: npm test
24+
- uses: actions/checkout@v2
25+
- name: Deployment
26+
uses: AhsanAyaz/angular-deploy-gh-pages-actions
27+
with:
28+
github_access_token: ${{ secrets.ACCESS_TOKEN }} # see the Configuration section for how you can create secrets
29+
build_configuration: staging # The build environment for the app. please look configurations in your angular.json
30+
base_href: /angular-testing/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/
31+
deploy_branch: gh-pages # The branch the action should deploy to.
32+
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)