Added css to dl, added schedule, rename

This commit is contained in:
Marvin Scham
2022-07-27 06:58:21 +02:00
committed by GitHub
parent 3063afa745
commit 94ed7bf246

41
.github/workflows/pyscript-updater.yml vendored Normal file
View File

@@ -0,0 +1,41 @@
name: Auto PR new PyScript
on:
schedule: [{cron: "0 4 * * *"}]
workflow_dispatch:
push: {branches: ["main"]}
jobs:
push_to_branch_and_create_pr:
name: Create PR for PyScript
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
name: Check out current commit
- uses: suisei-cn/actions-download-file@v1
id: pyscript-js
name: Download JS file
with:
url: (https://pyscript.net/alpha/pyscript.js)
target: assets
auto-match: true
- uses: suisei-cn/actions-download-file@v1
id: pyscript-css
name: Download CSS file
with:
url: (https://pyscript.net/alpha/pyscript.css)
target: assets
auto-match: true
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.0.4
with:
commit-message: Update PyScript Assets
title: Update PyScript Assets
body: |
This is an automated PR.
<sub>[workflow](https://github.com/marvinscham/pa-pyscript/blob/master/.github/workflows/pyscript-updater.yml).</sub>
branch: pyscript-update
branch-suffix: "random"