Skip to content

chore: bump version to 0.2.0 (first release of the rebuild) #38

chore: bump version to 0.2.0 (first release of the rebuild)

chore: bump version to 0.2.0 (first release of the rebuild) #38

Workflow file for this run

name: 'Deploy to Development'
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: write # Grant write access to modify files and push changes
jobs:
build:
name: 'Build'
runs-on: self-hosted
steps:
- name: Build and Deploy.
run: |
cd /var/www/html/docker-gui
git stash && git fetch origin && git checkout main && git pull
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
PATH="/usr/local/go/bin/:$PATH"
nvm install 22.
nvm use 22
cp .env-dev .env
npm i -g pm2 yarn
yarn install
yarn build
yarn db:push
pm2 delete pm2.json
pm2 start pm2.json
pm2 save