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