mirror of
https://github.com/tanrax/RSSPAPER.git
synced 2025-02-06 19:28:10 -05:00
Create week.yml
This commit is contained in:
parent
4d29287520
commit
27b04a37d7
31
.github/workflows/week.yml
vendored
Normal file
31
.github/workflows/week.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: build-pack
|
||||
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: "21 6 * * *"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install Lein
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install leiningen
|
||||
- name: Build
|
||||
run: |
|
||||
lein run
|
||||
- name: Upload
|
||||
run: |
|
||||
rm -rf docs/index.html
|
||||
mv dist/index.html docs
|
||||
git config user.email "action@github.com"
|
||||
git config user.name "GitHub Action"
|
||||
git add docs/index.html
|
||||
git commit -m 'Update build'
|
||||
git push origin master
|
||||
|
Loading…
x
Reference in New Issue
Block a user