目录

Genshinautogift

This program will get the newset genshin promotional code and redeem it

Usage/Examples

Go to https://genshin.hoyoverse.com/en/gift

After that login into your mihoyo account

  • And then type java on the url bar and paste this code
    script:$(document).ready(function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://cdn.jsdelivr.net/gh/gamersindo1223/genshinautogift@latest/js/makecreds.min.js",document.head.appendChild(e),setTimeout(() =>{ run() }, 1300);})
    After that go to Go to https://github.com/YOUR_USERNAME/YOUR_REPO/settings/variables/actions

add a new variables with the with the name “login_data”, and the value is the result of above code.

And then make a new Github Workflows/actions with the value like this

on:
  schedule:
    # Runs every 40 minutes or use crontab.guru for custom cron execution
    - cron: '*/30 * * * *'
  workflow_dispatch:

jobs:
  checking-and-redeem-codes:
    name: check-latest-codes
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: genshinautogift check
        uses: MoonLGH@/genshinautogift@main
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号