Skip to content

add script command "ci:frontend" #2

add script command "ci:frontend"

add script command "ci:frontend" #2

Workflow file for this run

name: speech-to-text CI/CD
on:
push:
branches:
- main
jobs:
frontend:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Build Angular App
run: npm run ci:frontend
- name: Publish GitHub Page
if: success()
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/frontend
enable_jekyll: true
backend:
name: Trigger deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Call to Rendercom
uses: johnbeynon/[email protected]
with:
service-id: ${{ secrets.RENDER_SERVICE_ID }}
api-key: ${{ secrets.RENDER_API_KEY }}