Skip to content

fix(hub): disallow names to contain words that discord doesn't like #165

fix(hub): disallow names to contain words that discord doesn't like

fix(hub): disallow names to contain words that discord doesn't like #165

Workflow file for this run

name: Deploy Code
on:
push:
branches: [main]
paths-ignore:
- archive/**
- CHANGELOG.md
- README.md
- LICENCE
- eslintrc.json
- eslintignore
- .prettierrc
- .gitignore
- .husky
jobs:
build:
name: Build updated code
runs-on: self-hosted
steps:
# note to self: Checks out to ~/actions-runner/chatbot-production-builds/InterChat/InterChat/
- name: Backup Logs
run: |
if [ -d "logs/" ]; then
cp -r logs/ ~/console-logs/$(date +'%Y-%m-%d-%M')
fi
- name: Checkout repository
uses: actions/checkout@v3
- name: Mark build as in progress
run: touch build-in-progress.tmp
- name: Install dependencies
run: npm install
- name: Build code
run: |
npm run build --if-present
cp ~/important/interchat-env .env
- name: Deploy Commands
run: npm run deploy -- -b
- name: Prune Dev-dependencies
run: npm prune --omit=dev
- name: Mark build as successful
run: touch build-successful.tmp