Sync #1312
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: Sync | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '30 6 * * *' | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Install | |
run: | | |
yarn | |
- name: Collect | |
run: | | |
yarn start | |
- name: Add | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "Atanas Atanasov" | |
git status | |
git add . | |
git commit -m ":package: Update downloads" --allow-empty | |
- name: Push | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.ACCESS_TOKEN }} |