Skip to content

Merge pull request #42 from yagizhanNY/update-angular #49

Merge pull request #42 from yagizhanNY/update-angular

Merge pull request #42 from yagizhanNY/update-angular #49

Workflow file for this run

name: Deploy
on:
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm install
- name: Install Angular CLI
run: npm install @angular/cli
- name: Build
run: npm run build
- name: Deploy
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}