Tutorial update (#248) #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.15.1 | |
# This builds the project for projects/demo-maps and outputs the result to the 'dist' folder. | |
# https://github.com/angular/angular-cli/issues/9016#issuecomment-526825531 | |
- name: Install and Build | |
run: | | |
npm ci | |
npx ng build demo-maps --configuration=production --base-href=/ukis-frontend-libraries/ | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: dist/demo-maps # The folder the action should deploy. |