mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #681 from creative-commoners/pulls/3/update-js
MNT Use update-js action
This commit is contained in:
commit
7042bb9f3e
9
.github/workflows/update-js-deps.yml
vendored
9
.github/workflows/update-js-deps.yml
vendored
@ -1,9 +0,0 @@
|
||||
name: Update JS deps
|
||||
on:
|
||||
# Run on a schedule once per quarter
|
||||
schedule:
|
||||
- cron: '0 0 1 */3 *'
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
ci:
|
||||
uses: silverstripe/github-actions-ci-cd/.github/workflows/update-js-deps.yml@v0.1
|
17
.github/workflows/update-js.yml
vendored
Normal file
17
.github/workflows/update-js.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Update JS
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# Run on a schedule of once per quarter
|
||||
schedule:
|
||||
- cron: '0 0 1 */3 *'
|
||||
|
||||
jobs:
|
||||
update-js:
|
||||
name: Update JS
|
||||
# Only run cron on the silverstripe account
|
||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Update JS
|
||||
uses: silverstripe/gha-update-js@v1
|
Loading…
Reference in New Issue
Block a user