Skip to content

Merge remote-tracking branch 'origin/main' #7

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #7

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
build-and-restart:
runs-on: self-hosted
steps:
- name: Pull the latest changes
working-directory: /home/iforge/ignis/
run: git pull
- name: Throw up the maintenance page
run: touch /home/iforge/ignis-config/file_flags/maintenance_mode/enabled
- name: Build the project
working-directory: /home/iforge/ignis/
run: /home/iforge/.local/share/pnpm/turbo build
- name: Restart systemd service
run: /home/iforge/ignis-config/scripts/restart_ignis.sh
- name: Remove maintenance page
run: rm /home/iforge/ignis-config/file_flags/maintenance_mode/enabled