termux-packages/.github/workflows/package_updates.yml

27 lines
678 B
YAML
Raw Normal View History

name: Package updates
on:
schedule:
2020-12-17 22:52:50 +01:00
- cron: '0 */6 * * *'
workflow_dispatch:
jobs:
update-packages:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_API_KEY }}
- name: Process package updates
env:
GITHUB_API_TOKEN: ${{ secrets.GH_API_KEY }}
BUILD_PACKAGES: "true"
GIT_COMMIT_PACKAGES: "true"
2020-12-17 22:44:44 +01:00
GIT_PUSH_PACKAGES: "true"
run: |
git config --global user.name "Termux Github Actions"
git config --global user.email "leonid.pliushch@gmail.com"
bash ./scripts/updates/check-updates.sh