Skip to content

Commit

Permalink
Merge pull request #10 from SmaugDev/dev
Browse files Browse the repository at this point in the history
Merge dev branch
  • Loading branch information
Smaug6739 authored Mar 4, 2021
2 parents 765577d + 32b79e6 commit f6663b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy_to_dev.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: deploy to dev
on:
release:
types: [published]
push:
branches: [ dev ]
jobs:
build:
runs-on: self-hosted
steps:
- name: pull
- name: Deploy to developement
run: |
cd /home/smaug/Spiritus/dev
git stash
Expand Down
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ process.on('warning', (warning) => {
if (!client) return;
client.errorHook.send(warning, {code: 'js'});
});
client.errorHook = new WebhookClient(`${client.configuration.WEBHOOKS.CONSOLE.ID}`, `${client.configuration.WEBHOOKS.CONSOLE.TOKEN}`);

client.errorHook = new WebhookClient(`${client.configuration.WEBHOOKS.CONSOLE.ID}`, `${client.configuration.WEBHOOKS.CONSOLE.TOKEN}`);

0 comments on commit f6663b0

Please sign in to comment.