Skip to content

nathan-vm is building a Linux release #14

nathan-vm is building a Linux release

nathan-vm is building a Linux release #14

name: Build and Deploy — Linux
run-name: ${{ github.actor }} is building a Linux release
on:
push:
branches:
- main
permissions:
actions: write
contents: write
packages: write
jobs:
deploy-on-linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: install python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm install
- name: Build and deploy on Linux(Debian)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm run build:linux --publish=always