Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/id1945/angular-deploy-github
Github action deploy to gh-page - DaiDH
https://github.com/id1945/angular-deploy-github
autodeploy cicd pieline runner
Last synced: about 1 month ago
JSON representation
Github action deploy to gh-page - DaiDH
- Host: GitHub
- URL: https://github.com/id1945/angular-deploy-github
- Owner: id1945
- License: mit
- Created: 2021-12-27T16:30:35.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T05:46:17.000Z (almost 2 years ago)
- Last Synced: 2023-03-03T16:46:39.575Z (almost 2 years ago)
- Topics: autodeploy, cicd, pieline, runner
- Language: HTML
- Homepage: https://id1945.github.io/angular-deploy-github/
- Size: 43.5 MB
- Stars: 0
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy gh-pages github
```yml
name: Build and Deploy
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: All things angular
uses: AhsanAyaz/[email protected] ## 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
build_configuration: production # The build environment for the app. please look configurations in your angular.json
base_href: /angular-deploy-github/ # make sure this corresponds to https://.github.io//
deploy_branch: gh-pages # The branch the action should deploy to.
angular_dist_build_folder: dist/angular-deploy-github # The folder where your project is supposed to be after running ng build by the action.
```## New repository secret
https://github.com/id1945/angular-deploy-github/settings/secrets/actions
```
Name: ACCESS_TOKEN
Secret: Any characters
```## After deploy
https://id1945.github.io/angular-deploy-github