Skip to content

trigger_deployed

trigger_deployed #5

Workflow file for this run

name: artifact_deployed
on:
# workflow_dispatch is mandatory, so that Artifactory can trigger
# the workflow through GitHub REST API.
workflow_dispatch:
# inputs are optional, they may be used to convey contextual data
# from the JFrog event to the workflow.
inputs:
artifact_path:
required: true
type: string
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Print artifact_path
run: echo The path is ${{ inputs.artifact_path }}
- 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'