mirror of
https://github.com/tanrax/RSSPAPER.git
synced 2025-03-12 12:40:13 -04:00
commit 64f90c39c41034566da875fd63f94126afab0e46 Author: Andros Fenollosa <tanrax@users.noreply.github.com> Date: Thu Aug 5 17:45:48 2021 +0200 Update diary.yml
37 lines
712 B
YAML
37 lines
712 B
YAML
name: build-pack
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- self
|
|
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: |
|
|
git checkout self
|
|
rm -rf docs/index.html docs/static
|
|
mv dist/index.html docs
|
|
mv dist/static docs/
|
|
git config user.email "action@github.com"
|
|
git config user.name "GitHub Action"
|
|
git add docs/index.html
|
|
git add docs/static/
|
|
git commit -m "$(date +"%F")"
|
|
git push origin self
|
|
|