Skip to content

Merge remote-tracking branch 'origin/main' #19

Merge remote-tracking branch 'origin/main'

Merge remote-tracking branch 'origin/main' #19

name: Build Overlays
on:
push:
branches: [ main ]
paths:
- 'index.js'
- 'start.sh'
- 'package.json'
jobs:
build:
runs-on: ubuntu-latest
container: registry.gitlab.steamos.cloud/steamrt/sniper/sdk:0.20230405.47175
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main
fetch-depth: 1
- name: Build
run: ./start.sh
- name: Commit overlays
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A overlays
git commit -m "Update overlays"
- name: Push Changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main