Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
chore: added deploymnt action
Browse files Browse the repository at this point in the history
  • Loading branch information
artemnih committed Mar 6, 2022
1 parent aa30349 commit 77fde2c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/deploy-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build and Deploy Angular Demo Site
on:
push:
branches:
- dev
jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Deploy Angular Demo
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.
with:
github_access_token: ${{ secrets.ACCESS_TOKEN }} # see the Configuration section for how you can create secrets vvvcvc n b
base_href: /ngx-explorer/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/
deploy_branch: gh-pages # The branch the action should deploy to.
angular_dist_build_folder: dist/ngx-explorer # The folder where your project is supposed to be after running ng build by the action.

0 comments on commit 77fde2c

Please sign in to comment.