Files
Paradise/.github/workflows/render_nanomaps.yml
AffectedArc07 c76a519eaa GitHub action for NanoMap generation
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
2020-06-11 12:27:21 +01:00

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 }}