-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 901 Bytes
/
run.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
name: FGO Login System
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "54 22 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
steps:
- name: Install Requeriments
run: pip install -r https://raw.githubusercontent.com/O-Isaac/FGO-Daily-Login/master/requirements.txt
- name: Gettings files from Repo
uses: actions/checkout@v2
- name: Execute main script
run: |
python3 main.py
env:
userIds: ${{ secrets.GAME_USERIDS }}
authKeys: ${{ secrets.GAME_AUTHKEYS }}
secretKeys: ${{ secrets.GAME_SECRETKEYS }}
UserAgent: ${{ secrets.GAME_USERAGENT }}
fateRegion: ${{ secrets.GAME_REGION }}
webhookDiscord: ${{ secrets.DISCORD_WEBHOOK }}