forked from banhala/appstore-status-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 898 Bytes
/
fetch.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Fetch Appstore Info
on:
workflow_dispatch:
schedule:
- cron: "0/5 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.1
with:
node-version: "14.x"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.0.5"
- run: gem install bundler:2.1.4
- run: bundle update
- run: npm install
- run: node Sources/check_status.js
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
KEY_ID: ${{ secrets.KEY_ID }}
ISSUER_ID: ${{ secrets.ISSUER_ID }}
BUNDLE_ID: ${{ secrets.BUNDLE_ID }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GIST_ID: ${{ secrets.GIST_ID }}
LANGUAGE: "ko"