Skip to content

Update TGS DMAPI

Update TGS DMAPI #851

name: Update TGS DMAPI
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
update-dmapi:
runs-on: ubuntu-20.04
name: Update the TGS DMAPI
steps:
- name: Clone
uses: actions/checkout@v2
- name: Branch
run: |
git branch -f tgs-dmapi-update
git checkout tgs-dmapi-update
git reset --hard master
- name: Apply DMAPI update
uses: tgstation/tgs-dmapi-updater@v2
with:
header-path: 'code/__DEFINES/tgs.dm'
library-path: 'code/modules/tgs'
- name: Commit and Push
continue-on-error: true
run: |
git config user.name tgstation-server
git config user.email [email protected]
git add .
git commit -m 'Update TGS DMAPI'
git push -f -u origin tgs-dmapi-update