Skip to content

feat: unverify users #27

feat: unverify users

feat: unverify users #27

Workflow file for this run

name: Build and Publish
on: [push]
jobs:
build:
name: Build and Publish to Server
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Pull Project
uses: actions/checkout@v3.5.2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ matrix.node-version }}
- name: Preparing Project
run: npm i
- name: Building BBN-Bot
run: npm run build
- name: Copy folder content recursively to remote
uses: garygrossgarten/github-action-scp@release
with:
local: ./dist/
remote: /root/bbn/bots/BBN-Bot/
host: ${{ secrets.HOST }}
port: ${{ secrets.PORT }}
username: ${{ secrets.USERNAME }}
privateKey: ${{ secrets.KEY }}
- name: Deploying to Docker
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: /root/bbn/bots/BBN-Bot/deploy.sh