Update publish workflow

This commit is contained in:
Melon 2023-11-03 09:42:08 +00:00
parent 907fcdff91
commit 17186d1752
Signed by: melon
GPG Key ID: 6C9D970C50D26A25
5 changed files with 9 additions and 10 deletions

View File

@ -1,3 +1,3 @@
VITE_SSO_ORIGIN=https://sso.1f349.net
VITE_SSO_ORIGIN=https://sso.1f349.com
VITE_API_LOTUS=https://api.1f349.net/v1/lotus
VITE_API_LOTUS=https://api.1f349.com/v1/lotus

View File

@ -22,4 +22,4 @@ jobs:
run: tar -czvf upload.tar.gz -C ./dist .
- name: Release
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.net/u?site=mail.1f349.net&branch=${{ github.ref_name }}"'
run: 'curl -X POST -H "Authorization: Bearer ${{ secrets.DEPLOY }}" -F "upload=@upload.tar.gz" "https://sites.1f349.com/u?site=mail.1f349.com&branch=${{ github.ref_name }}"'

View File

@ -4,11 +4,11 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>1f349 Mail</title>
<meta name="author" content="1f349.net" />
<meta name="author" content="1f349.com" />
<meta property="og:title" content="1f349 Mail" />
<meta property="og:url" content="https://mail.1f349.net" />
<meta property="og:url" content="https://mail.1f349.com" />
<meta property="og:type" content="object" />
<meta property="og:image" content="https://mail.1f349.net/1f349.svg" />
<meta property="og:image" content="https://mail.1f349.com/1f349.svg" />
<meta property="og:site_name" content="1f349 Mail" />
<link rel="icon" type="image/svg+xml" href="/1f349.svg" />
</head>

View File

@ -1,5 +1,5 @@
{
"name": "mail.1f349.net",
"name": "mail.1f349.com",
"private": true,
"version": "0.0.0",
"type": "module",

View File

@ -1,6 +1,5 @@
<script lang="ts">
import type {SvelteComponent} from "svelte";
import {loginStore, parseJwt, type LoginStore} from "./stores/login";
import {loginStore} from "./stores/login";
import {openLoginPopup} from "./utils/login-popup";
</script>
@ -10,7 +9,7 @@
</div>
<div class="flex-gap" />
<div class="nav-link">
<a href="https://status.1f349.net" target="_blank">Status</a>
<a href="https://status.1f349.com" target="_blank">Status</a>
</div>
{#if $loginStore == null}
<div class="login-view">