Ignore webp #18
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: 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 |