Update update-code.yml
This program will get the newset genshin promotional code and redeem it
Go to https://genshin.hoyoverse.com/en/gift
After that login into your mihoyo account
java
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);})
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
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Genshinautogift
This program will get the newset genshin promotional code and redeem it
Usage/Examples
Go to https://genshin.hoyoverse.com/en/gift
javaon the url bar and paste this code After that go to Go to https://github.com/YOUR_USERNAME/YOUR_REPO/settings/variables/actionsadd 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