Skip to content

FIX: Search functionality for tags #419

FIX: Search functionality for tags

FIX: Search functionality for tags #419

Workflow file for this run

# On pushes to `main`, deploys website to Azure.
# Does not update the data.
#
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions
name: deploy
on:
push:
branches: [main]
workflow_dispatch:
env:
NODE_ENV: CI
PORT: 3000
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
- name: Build app
run: npm run build
- name: Check for "only" in tests
run: npm run stop-only
- name: Run E2E tests
run: npm test
- name: Deploy to Azure Web App
id: deploy-to-webapp
uses: azure/webapps-deploy@v2
with:
app-name: nisinoon
slot-name: Production
package: .
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_C789F3DAFFFF45EA89AA17889914203C }}