Skip to content

Fetch and Push (Ubuntu) #496

Fetch and Push (Ubuntu)

Fetch and Push (Ubuntu) #496

Workflow file for this run

name: Fetch and Push (Ubuntu)
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string
- cron: "0 17 * * *"
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Fetch
run: |
bash ./fetch.sh
- name: Push
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add libs headers
git commit -am "Add changes."
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}