Skip to content

content: embedded checkout #420

content: embedded checkout

content: embedded checkout #420

Workflow file for this run

name: Deploy to Firebase Hosting
on:
push:
branches:
- master
env:
FIREBASE_TOKEN: ${{secrets.FIREBASE_TOKEN}}
ALGOLIA_APP_ID: 05VYZFXKNM
ALGOLIA_ADMIN_KEY: ${{secrets.ALGOLIA_ADMIN_KEY}}
ALGOLIA_INDEX_NAME: content
ALGOLIA_INDEX_FILE: public/algolia.json
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.101.0'
extended: true
- run: npm ci
- run: npm run build
- run: npm run algolia
- run: npm run deploy