added AdvDevTools CfgPatches #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: sort | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: denolib/setup-deno@v2 | |
with: | |
deno-version: v1.x | |
- name: sort file | |
run: | | |
deno run --allow-read --allow-write tools/sort.ts | |
- name: commit | |
run: | | |
echo ${{ github.ref }} | |
git add . | |
git config --local user.email "admin@gruppe-adler.de" | |
git config --local user.name "Blechadler" | |
git commit -m "ci: sort lines in cba_settings.sqf" -a | exit 0 | |
- name: Push changes | |
if: github.ref != 'refs/heads/main' | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |