1
0
mirror of https://github.com/CFC-Servers/gm_logger.git synced 2025-03-04 03:03:01 -05:00

Also push generated code to lua branch

This commit is contained in:
Brandon Sturgeon 2020-09-29 05:11:18 -04:00
parent 17ac21a2b0
commit 53571dc516

View File

@ -27,8 +27,22 @@ jobs:
- name: Build Lua
run: moonc -t lua moon/*
- name: Prepare Release Asset
run: rm -rf moon .git*
- name: Remove moon
run: rm -rf moon
- name: Remove github dir
run: rm -rf .github
- name: Push to lua branch
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add .
git commit -m "Release build: ${{ github.ref }}"
git push -f origin lua
- name: Remove .git dir
run: rm -rf .git
- name: Create subdirectory
run: mkdir ${{ github.event.repository.name }}