Run uploads in submodules, create empty language files & upgrade all packages #42
Workflow file for this run
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 | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Push | |
if: ${{ github.event_name == 'push' && github.ref_name == 'main' }} | |
run: | | |
git config --global user.email "<>" | |
git config --global user.name "Build Bot" | |
git add download/ -f | |
git add upload/ -f | |
git commit -m "Build ${{ github.event.head_commit.message }}" || echo "Skipping commit" | |
git push |