diff --git a/.github/workflows/login.yml b/.github/workflows/login.yml
index 010a4fb..43af522 100644
--- a/.github/workflows/login.yml
+++ b/.github/workflows/login.yml
@@ -20,8 +20,7 @@ jobs:
- name: Check In
run: node index.js
env:
- COOKIE: ${{ secrets.COOKIE }}
- GAMES: ${{ vars.GAMES }}
+ CRED: ${{ secrets.CRED }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
DISCORD_USER: ${{ secrets.DISCORD_USER }}
workflow-keepalive:
diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml
index e96747e..2a7e598 100644
--- a/.github/workflows/version.yml
+++ b/.github/workflows/version.yml
@@ -2,7 +2,7 @@ name: Latest version
on:
schedule:
- - cron: "0 18 * * *" # scheduled at 06:00 (UTC+8) everyday
+ - cron: "0 22 * * *" # scheduled at 06:00 (UTC+8) everyday
workflow_dispatch:
jobs:
@@ -15,7 +15,7 @@ jobs:
- name: Fetch package.json from original repo
run: |
curl -o remote-package.json \
- https://raw.githubusercontent.com/sglkc/hoyolab-auto-daily/master/package.json
+ https://raw.githubusercontent.com/sglkc/endfield-auto-daily/master/package.json
- name: Compare versions
env:
diff --git a/README.md b/README.md
index 619c9fc..a0fb65b 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# Hoyolab Auto Daily Check In
+# Endfield Auto Daily Check In
Today's check in status:
[](../../actions/workflows/login.yml)
@@ -8,7 +8,7 @@ Repository version:
## Table of Contents
-- [Getting your cookie](#getting-your-cookie)
+- [Getting your auth token](#getting-your-auth-token)
- [Usage](#usage)
- [Multiple Accounts](#multiple-accounts)
- [Discord Webhook](#discord-webhook)
@@ -18,9 +18,9 @@ Repository version:
- [Error not logged in](#error-not-logged-in)
- [I have other issues](#i-have-other-issues)
-## Getting your cookie
+## Getting your auth token
-You have to check in manually first to get your cookie, follow these steps (click to open screenshot):
+You have to check in manually first to get your auth token, follow these steps (click to open screenshot):
1. Open [SKPORT Arknights: Endfield Daily Sign In](https://game.skport.com/endfield/sign-in) and login if you haven't (obviously)
@@ -62,7 +62,7 @@ You have to check in manually first to get your cookie, follow these steps (clic
5.
Insert name with CRED and secret with
- your token, then click Add secret. You can input as many accounts, separate it with a new line (Enter).
+ your token, then click Add secret. You can input as many accounts, separate it with a new line (Enter).
@@ -82,13 +82,6 @@ You have to check in manually first to get your cookie, follow these steps (clic
10. You're set! Hop on your game the next day and see if you got the rewards
-## Multiple Accounts
-
-
- To add other accounts, you can add another token in a new line like below.
-
-
-
## Discord Webhook
You may use Discord webhook to send notifications to your channel!
@@ -105,18 +98,12 @@ You may use Discord webhook to send notifications to your channel!
3.
You can edit the name and picture freely, then Copy Webhook URL
-
+
4.
Create a new repository variable named DISCORD_WEBHOOK with value of the webhook URL
-
-
-
-5.
- (Optional) If you want to be tagged on check in, add `DISCORD_USER` variable with your Discord ID.
-
-
+
6. You may trigger the check in manually and see if the messages got sent
@@ -136,4 +123,4 @@ It is still unknown whether automated daily log in is bannable for Arknights End
### I have other issues
-To the [Issues page](https://github.com/sglkc/hoyolab-auto-daily/issues)
+To the [Issues page](https://github.com/sglkc/endfield-auto-daily/issues)