trigger_deployed #38
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: trigger_deployed | |
on: | |
# workflow_dispatch is mandatory, so that Artifactory can trigger | |
# the workflow through GitHub REST API. | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: main | |
fetch-depth: 0 | |
- name: Update data | |
run: | | |
npm install --no-save | grep -v 'YN0013' | |
npm run data:update-time | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
author_name: Scheduler | |
author_email: [email protected] | |
message: 'Update Time Now' | |