This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
FGO Login System #611
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: FGO Login System | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
schedule: | |
- cron: "30 10 * * *" | |
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 }} |