Compare commits

..

2 commits

Author SHA1 Message Date
Ashwin Kumar Sivakumar
0c1215e9db fix(ci): use auth header for forgejo sync
Some checks failed
build-and-release / build (push) Failing after 5s
2026-06-14 19:02:05 +05:30
Ashwin Kumar Sivakumar
a4c74f39ed fix(frontend): use nxtgauge browser branding 2026-06-14 18:56:33 +05:30
3 changed files with 6 additions and 6 deletions

View file

@ -28,13 +28,13 @@ jobs:
set -euo pipefail
test -n "${FORGEJO_SECRET:-}" || { echo "FORGEJO_SECRET is empty"; exit 1; }
ENCODED_PASSWORD="$(printf '%s' "${FORGEJO_SECRET}" | jq -sRr @uri)"
TARGET="https://${FORGEJO_USERNAME}:${ENCODED_PASSWORD}@ci.nxtgauge.com/${FORGEJO_OWNER}/${REPO}.git"
AUTH="$(printf '%s' "${FORGEJO_USERNAME}:${FORGEJO_SECRET}" | base64 -w0)"
TARGET="https://ci.nxtgauge.com/${FORGEJO_OWNER}/${REPO}.git"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git remote remove forgejo 2>/dev/null || true
git remote add forgejo "${TARGET}"
git push forgejo "HEAD:${BRANCH}" --force
git push forgejo --tags --force
git -c http.extraHeader="AUTHORIZATION: basic ${AUTH}" push forgejo "HEAD:${BRANCH}" --force
git -c http.extraHeader="AUTHORIZATION: basic ${AUTH}" push forgejo --tags --force

View file

@ -11,7 +11,7 @@ export default function App() {
<Router
root={(props) => (
<MetaProvider>
<Title>NXTGAUGE Frontend Solid</Title>
<Title>Nxtgauge</Title>
<AuthProvider>
<ErrorBoundary
fallback={(err) => (

View file

@ -8,7 +8,7 @@ export default createHandler(() => (
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" href="/favicon.ico" />
<link rel="icon" type="image/png" href="/nxtgauge-icon.png" />
<style>{`html,body,#app{min-height:100%;margin:0}body{background:#07051a} .dashboard-shell{background:#f6f8ff;min-height:100vh} .lp-main,.auth-page,.choose-role-page{background:#07051a;min-height:100vh}`}</style>
{assets}
</head>