Skip to content

Commit

Permalink
build: add main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausEverWalkingDev authored Oct 23, 2023
1 parent fdb36be commit b94021e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Build and Deploy
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: All things angular
uses: AhsanAyaz/[email protected]
with:
github_access_token: ${{ secrets.GITHUB_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: /devcaminhante-org/ # make sure this corresponds to https://<your_username>.github.io/<base_href>/
angular_dist_build_folder: dist # The folder where your project is supposed to be after running ng build by the action.

permissions:
contents: write # Allow write permission to GITHUB_TOKEN to commit to deploy branch.

0 comments on commit b94021e

Please sign in to comment.