Skip to content

Manually forcing all of these to a normal standard #52

Manually forcing all of these to a normal standard

Manually forcing all of these to a normal standard #52

name: Autobuild TGUI
on:
push:
branches:
- 'master'
paths:
- 'tgui/**.js'
- 'tgui/**.scss'
jobs:
build:
name: Rebuild TGUI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 25
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '^18'
- name: Build TGUI
run: bin/tgui --build
working-directory: ./tgui
- name: Commit Artifacts
run: |
git config --local user.email "[email protected]"
git config --local user.name "TGUI"
git pull origin master
git commit -m "Automatic TGUI Rebuild [ci skip]" -a || true
- name: Push Artifacts
uses: CasperWA/push-protected@v2
with:
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }}
branch: protected