Update jQuery #32
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: Update jQuery | |
on: | |
schedule: | |
# Runs at 00:00 UTC on the 1st of every month | |
- cron: '0 0 1 * *' | |
jobs: | |
update-jquery: | |
name: Update jQuery | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@main | |
- name: Download latest jQuery | |
run: wget -O $GITHUB_WORKSPACE/zb_system/script/jquery-latest.min.js https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js | |
- name: Commit & Push changes | |
uses: actions-js/push@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
message: "[Auto] updated jQuery (monthly)" | |
branch: master |