forked from techinpark/appstore-status-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (38 loc) · 1.1 KB
/
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
34
35
36
37
38
39
40
name: Fetch Appstore Info
on:
schedule:
- cron: "0/15 * * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
with:
node-version: "14.x"
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
- uses: actions/setup-ruby@v1
with:
ruby-version: "2.6"
- run: gem install bundler:2.1.4
- run: bundle install
- 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 }}
LANGUAGE: "en"
- name: push
uses: github-actions-x/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
push-branch: 'master'
commit-message: 'Store Appstore Info'
force-add: 'true'
files: store.db
name: Fernando
email: [email protected]