Skip to content

Update projassets.yml #2

Update projassets.yml

Update projassets.yml #2

Workflow file for this run

name: Send submodule updates to parent repo
on:
workflow_dispatch:
push:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
repository: oxmc/projassets
token: ${{ secrets.GITHUBTOKEN }}
submodules: true
- name: Pull & update submodules recursively
run: |
git submodule update --init --recursive
git submodule update --recursive --remote
- name: Commit
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions - update submodules"
git add --all
git commit -m "Update submodules (fa triggered)" || echo "No changes to commit"
git push