Skip to content

Format violation comments similar to description #32

Format violation comments similar to description

Format violation comments similar to description #32

Workflow file for this run

name: Deployment to Production
on:
push:
tags:
- '**'
jobs:
build:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version: '18'
cache: npm
- name: Clean install of dependencies
run: npm ci
- name: Build
run: node --openssl-legacy-provider node_modules/.bin/webpack --config webpack/build.config.js
env:
NODE_ENV: production
API_HOST: ${{ secrets.PRODUCTION_API_HOST }}
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }}
FIREBASE_AUTH_DOMAIN: ${{ secrets.FIREBASE_AUTH_DOMAIN }}
FIREBASE_DATABASE_URL: ${{ secrets.FIREBASE_DATABASE_URL }}
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }}
- name: Minio Deploy
uses: hkdobrev/minio-deploy-action@v1
with:
endpoint: ${{ secrets.MINIO_PRODUCTION_ENDPOINT }}
access_key: ${{ secrets.MINIO_PRODUCTION_ACCESS_KEY }}
secret_key: ${{ secrets.MINIO_PRODUCTION_SECRET_KEY }}
bucket: ${{ secrets.MINIO_PRODUCTION_BUCKET }}
source_dir: 'dist'
target_dir: '/'
insecure: 'true'