mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-30 20:22:32 +00:00
Number 1 Number 2 Number 3 God I wish there was a decent way to test these AAAAAAAAA Begin the null diffs Oh ffs wrong branch chmod Forgot to mod the renderer itself Number 23452354235 It just keeps going I think this might be it Lets try that again aaaaaaaaaa *scream *sigh Dont tell me that a newline broke it ... aaaaaaaaaaaaa *scream This worked THATS WHAT KILLED IT?!?!?!?!?!?!?!? ... I THINK ITS READY Ok final commit Line endings are the bane of my existence This has really made me feel stupid CRLF AAAAAAAAAA Changes DM side
36 lines
1023 B
YAML
36 lines
1023 B
YAML
# GitHub action to autorender nanomaps outside the game
|
|
# This kills off the awful verb we have that takes a full 50 seconds and hangs the whole server
|
|
# The file names and locations are VERY important here
|
|
# DO NOT EDIT THIS UNLESS YOU KNOW WHAT YOU ARE DOING
|
|
# -aa
|
|
name: 'Render Nanomaps'
|
|
on:
|
|
push:
|
|
branches: master
|
|
paths:
|
|
- '_maps/map_files/**'
|
|
|
|
jobs:
|
|
generate_maps:
|
|
name: 'Generate NanoMaps'
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: 'Update Branch'
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 1
|
|
|
|
- name: 'Generate Maps'
|
|
run: './tools/github-actions/nanomap-renderer-invoker.sh'
|
|
|
|
- name: 'Commit Maps'
|
|
run: |
|
|
git config --local user.email "action@github.com"
|
|
git config --local user.name "NanoMap Generation"
|
|
git pull origin master
|
|
git commit -m "NanoMap Auto-Update (`date`)" -a || true
|
|
- name: 'Push Maps'
|
|
uses: ad-m/github-push-action@master
|
|
with:
|
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|