Skip to content

Commit

Permalink
only run workflow on dir change
Browse files Browse the repository at this point in the history
  • Loading branch information
nimarion committed Jan 16, 2024
1 parent 6204fc0 commit 5b4beb3
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: 🚀 Deploy
on:
workflow_dispatch:
push:
paths:
- backend/**
branches:
- develop
- main
Expand Down
63 changes: 62 additions & 1 deletion frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@
"axios": "^1.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-modal": "^3.16.1",
"react-router-dom": "^6.21.2",
"socket.io-client": "^4.7.4"
},
"devDependencies": {
"@tailwindcss/aspect-ratio": "^0.4.2",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@types/react-modal": "^3.16.3",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react-swc": "^3.5.0",
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/OutsideClickHandler.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useRef, useEffect } from "react";
import { useRef, useEffect } from "react";

function OutsideClickHandler({ children, onOutsideClick = () => {} }: any) {
const wrapperRef = useRef<HTMLDivElement>(null);
Expand Down

0 comments on commit 5b4beb3

Please sign in to comment.