Removed unnecessary dependency
This commit is contained in:
44
.github/workflows/asset-updater.yml
vendored
44
.github/workflows/asset-updater.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Auto PR updated Assets
|
name: Auto PR 3rd party assets
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule: [{cron: "0 4 * * *"}]
|
schedule: [{cron: "0 4 * * *"}]
|
||||||
@@ -6,49 +6,29 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
push_to_branch_and_create_pr:
|
push_to_branch_and_create_pr:
|
||||||
name: Create PR for updated assets
|
name: Create PR for 3rd party assets
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
name: Check out current commit
|
name: Check out current commit
|
||||||
|
|
||||||
- uses: suisei-cn/actions-download-file@v1
|
- name: Download pyscript.js
|
||||||
id: pyscript-js
|
run: curl https://pyscript.net/alpha/pyscript.js -o assets/pyscript.js
|
||||||
name: Download JS file for PyScript
|
|
||||||
with:
|
|
||||||
url: (https://pyscript.net/alpha/pyscript.js)
|
|
||||||
target: assets
|
|
||||||
auto-match: true
|
|
||||||
|
|
||||||
- uses: suisei-cn/actions-download-file@v1
|
- name: Download pyscript.py
|
||||||
id: pyscript-py
|
run: curl https://pyscript.net/alpha/pyscript.py -o assets/pyscript.py
|
||||||
name: Download Python file for PyScript
|
|
||||||
with:
|
|
||||||
url: (https://pyscript.net/alpha/pyscript.py)
|
|
||||||
target: assets
|
|
||||||
auto-match: true
|
|
||||||
|
|
||||||
- uses: suisei-cn/actions-download-file@v1
|
- name: Download pyscript.css
|
||||||
id: pyscript-css
|
run: curl https://pyscript.net/alpha/pyscript.css -o assets/pyscript.css
|
||||||
name: Download CSS file for PyScript
|
|
||||||
with:
|
|
||||||
url: (https://pyscript.net/alpha/pyscript.css)
|
|
||||||
target: assets
|
|
||||||
auto-match: true
|
|
||||||
|
|
||||||
- uses: suisei-cn/actions-download-file@v1
|
- name: Download d3.v7.min.js
|
||||||
id: D3-v7
|
run: curl https://d3js.org/d3.v7.min.js -o assets/d3.v7.min.js
|
||||||
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 assets
|
commit-message: Update 3rd party assets
|
||||||
title: Update assets
|
title: Update 3rd party 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/asset-updater.yml).</sub>
|
<sub>[workflow](https://github.com/marvinscham/pa-pyscript/blob/master/.github/workflows/asset-updater.yml).</sub>
|
||||||
|
|||||||
Reference in New Issue
Block a user