Delete .github/workflows/main.yml
This commit is contained in:
parent
0354a36cef
commit
a1a40cbfcb
33
.github/workflows/main.yml
vendored
33
.github/workflows/main.yml
vendored
@ -1,33 +0,0 @@
|
|||||||
name: Check
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
- cron: "0 * * * *"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: Install Java
|
|
||||||
run: |
|
|
||||||
sudo apt update
|
|
||||||
sudo apt install default-jre wget
|
|
||||||
|
|
||||||
- name: Configure
|
|
||||||
run: |
|
|
||||||
cd recurring-execution-with-actions
|
|
||||||
wget https://github.com/tanrax/important-stories-alert-for-hacker-news/releases/download/v1.0.2/isahn-1.0.2-standalone.jar
|
|
||||||
echo "{ :min_score 600 :chat \"${{ secrets.TELEGRAM_CHAT }}\" :bot_token \"${{ secrets.TELEGRAM_BOT_TOKEN }}\" :run_every_miliseconds 3600000 }" > config.edn
|
|
||||||
|
|
||||||
- name: Run
|
|
||||||
run: |
|
|
||||||
cd recurring-execution-with-actions
|
|
||||||
java -jar isahn-1.0.2-standalone.jar
|
|
||||||
|
|
||||||
- name: Update database
|
|
||||||
run: |
|
|
||||||
cd recurring-execution-with-actions
|
|
||||||
./updateDB.sh
|
|
Loading…
Reference in New Issue
Block a user