1
0
Fork 0
mirror of https://codeberg.org/spire/sm_whitelist.git synced 2026-06-03 10:14:07 +02:00
This commit is contained in:
Robin Appelman 2020-02-09 23:06:11 +01:00
commit 0790ece940

27
.github/workflows/compile.yaml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Build sourcepawn and commit
on:
push:
paths:
- '**.sp'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Compile sourcepawn
uses: spiretf/spcomp@v0.1.0
with:
source: './plugin/autoexec.sp'
target: './plugin/autoexec.smx'
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "Compile sourcepawn" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}