mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
test: use self-hosted runner
This commit is contained in:
parent
71a77f8308
commit
3de1b73ff5
2
.github/workflows/Deploy.yml
vendored
2
.github/workflows/Deploy.yml
vendored
@ -12,7 +12,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
name: Build and push Docker image
|
name: Build and push Docker image
|
||||||
runs-on: ubuntu-latest
|
runs-on: self-hosted
|
||||||
environment: Production
|
environment: Production
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@ -36,12 +36,10 @@ export function SignIn() {
|
|||||||
});
|
});
|
||||||
if (res?.error) {
|
if (res?.error) {
|
||||||
console.log("login error");
|
console.log("login error");
|
||||||
console.log(res);
|
|
||||||
setErrorState(true);
|
setErrorState(true);
|
||||||
setSuccessState(false);
|
setSuccessState(false);
|
||||||
} else {
|
} else {
|
||||||
console.log("login success");
|
console.log("login success");
|
||||||
console.log(res);
|
|
||||||
setErrorState(false);
|
setErrorState(false);
|
||||||
setSuccessState(true);
|
setSuccessState(true);
|
||||||
router.push("/");
|
router.push("/");
|
||||||
|
Loading…
Reference in New Issue
Block a user