Skip to content

Merge pull request #42 from bolzplatzarena/disable-the-button-from-ou… #16

Merge pull request #42 from bolzplatzarena/disable-the-button-from-ou…

Merge pull request #42 from bolzplatzarena/disable-the-button-from-ou… #16

Workflow file for this run

name: Deployment
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 25
strategy:
matrix:
node-version: [ 20.x ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache
uses: actions/cache@v1
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-modules-
- name: Prepare and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm install
npm run build
npm run ng -- deploy --base-href=https://bolzplatzarena.github.io/Components/browser/ --no-silent --name="Thomas Renger" --email="[email protected]"