Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
orig committed Sep 9, 2023
1 parent bde9206 commit ece9292
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions apps/backend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"docker image tag backend ghcr.io/{args.repository}/backend:{args.github-sha}",
"docker push ghcr.io/{args.repository}/backend:{args.github-sha}"
"docker image tag backend ghcr.io/{args.repository}/backend:master",
"docker push ghcr.io/{args.repository}/backend:master"
],
"parallel": false
}
Expand Down
4 changes: 2 additions & 2 deletions apps/frontend/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"executor": "nx:run-commands",
"options": {
"commands": [
"docker image tag frontend ghcr.io/{args.repository}/frontend:{args.github-sha}",
"docker push ghcr.io/{args.repository}/frontend:{args.github-sha}"
"docker image tag frontend ghcr.io/{args.repository}/frontend:master",
"docker push ghcr.io/{args.repository}/frontend:master"
],
"parallel": false
}
Expand Down
8 changes: 1 addition & 7 deletions apps/frontend/src/components/theme-switcher/theme-loader.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
import { component$, useContext, useVisibleTask$ } from '@builder.io/qwik';
import { GlobalStore } from '../../context';
import {
colorSchemeChangeListener,
DARK_THEME,
getColorPreference,
LIGHT_THEME,
setPreference,
} from '../theme-switcher/theme-switcher';
import { colorSchemeChangeListener, DARK_THEME, getColorPreference, LIGHT_THEME, setPreference } from '../theme-switcher/theme-switcher';

export const ThemeLoader = component$(() => {
const globalStore = useContext(GlobalStore);
Expand Down

0 comments on commit ece9292

Please sign in to comment.