Added D3
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Auto PR new PyScript
|
name: Auto PR updated Assets
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule: [{cron: "0 4 * * *"}]
|
schedule: [{cron: "0 4 * * *"}]
|
||||||
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push_to_branch_and_create_pr:
|
push_to_branch_and_create_pr:
|
||||||
name: Create PR for PyScript
|
name: Create PR for updated assets
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@@ -29,13 +29,21 @@ jobs:
|
|||||||
target: assets
|
target: assets
|
||||||
auto-match: true
|
auto-match: true
|
||||||
|
|
||||||
|
- uses: suisei-cn/actions-download-file@v1
|
||||||
|
id: D3-v7
|
||||||
|
name: Download minified D3 v7 file
|
||||||
|
with:
|
||||||
|
url: (https://d3js.org/d3.v7.min.js)
|
||||||
|
target: assets
|
||||||
|
auto-match: true
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v4.0.4
|
uses: peter-evans/create-pull-request@v4.0.4
|
||||||
with:
|
with:
|
||||||
commit-message: Update PyScript Assets
|
commit-message: Update assets
|
||||||
title: Update PyScript Assets
|
title: Update assets
|
||||||
body: |
|
body: |
|
||||||
This is an automated PR.
|
This is an automated PR.
|
||||||
<sub>[workflow](https://github.com/marvinscham/pa-pyscript/blob/master/.github/workflows/pyscript-updater.yml).</sub>
|
<sub>[workflow](https://github.com/marvinscham/pa-pyscript/blob/master/.github/workflows/asset-updater.yml).</sub>
|
||||||
branch: pyscript-update
|
branch: update-assets
|
||||||
branch-suffix: "random"
|
branch-suffix: "random"
|
||||||
Reference in New Issue
Block a user