Skip to content

Nightly updates for TDLib #634

Nightly updates for TDLib

Nightly updates for TDLib #634

Workflow file for this run

name: Nightly updates for TDLib
on:
workflow_dispatch:
schedule:
- cron: "33 3 * * *"
jobs:
nightly:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: nightly
submodules: recursive
- name: Check for updates
run: |
cd td
git status
git fetch
git reset --hard origin/master
git status
cd ..
git config --local user.name "oott123"
git config --local user.email "[email protected]"
git remote set-url origin "[email protected]:oott123/tdlib-json-cli.git"
eval `ssh-agent`
echo "$DEPLOY_SSH_KEY" | ssh-add -
(git commit -am "chore: Bump TDLib version" && git push -u origin nightly) || true
env:
DEPLOY_SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}