Skip to content

Commit f77dd69

Browse files
authored
Create deploy-ghpage.yml (#8)
1 parent 6389c30 commit f77dd69

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/deploy-ghpage.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
build:
8+
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: All things angular
14+
uses: AhsanAyaz/angular-deploy-gh-pages-actions@[version] ## replace by latest version without it you will see Expected format {org}/{repo}[/path]@ref. Actual 'AhsanAyaz/angular-deploy-gh-pages-actions',Input string was not in a correct format.
15+
with:
16+
build_configuration: staging # The build environment for the app. please look configurations in your angular.json
17+
deploy_branch: gh-pages # The branch the action should deploy to.
18+
angular_dist_build_folder: dist/drums-pattern-library # The folder where your project is supposed to be after running ng build by the action.
19+
20+
permissions:
21+
contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.

0 commit comments

Comments
 (0)