VCT CN Publisher #4707
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: VCT CN Publisher | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 * * * *" | |
jobs: | |
VCT-CN-Publisher: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install Node.js, NPM | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: "Install dependencies" | |
run: npm install | |
- name: "Working" | |
timeout-minutes: 350 | |
run: npm run start | |
- name: Commit files | |
run: | | |
git config --global user.email "Glaxyinfinite@outlook.com" | |
git config --global user.name "Ashinch" | |
git add -A | |
git commit -m "VCT CN calendar has updated" -a | |
git push |