6 Commits
Author SHA1 Message Date
RaghadAlkhous 87431a7560 update github11 2026-05-06 15:52:17 +03:00
RaghadAlkhous 887164e1db update github 2026-05-06 15:45:15 +03:00
RaghadAlkhous be86ca7983 update github 22 2026-05-06 15:30:20 +03:00
RaghadAlkhous 9bfd4c6b09 update github 2026-05-06 15:28:35 +03:00
RaghadAlkhous 431fbf4258 update github actions workflow 2026-05-06 15:25:39 +03:00
RaghadAlkhous 1ccca905f3 initial commit 2026-05-06 15:08:57 +03:00
4 changed files with 64 additions and 9 deletions
+18
View File
@@ -0,0 +1,18 @@
on:
push:
pull_request:
jobs:
deploy:
steps:
- name: checkout code
uses: actions/checkout@v5.0.0
- name: install ghaymah cli
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
- name: login to ghaymah
run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
- name: deploy
run: $HOME/ghaymah/bin/gy resource app launch
+19
View File
@@ -0,0 +1,19 @@
FROM node:20 AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY --from=build /app/build /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
+17
View File
@@ -0,0 +1,17 @@
{
"id": "a978f1cb-2085-4132-b91b-13d29f1b06e4",
"name": "RestaurantPro",
"projectId": "d0c73bad-ac37-4c84-bfbc-9e41eb741784",
"ports": [
{
"expose": true,
"number": 80
}
],
"publicAccess": {
"enabled": true,
"domain": "auto"
},
"resourceTier": "t1",
"dockerFileName": "Dockerfile"
}
@@ -141,18 +141,19 @@ const LoginForm = () => {
<Stack spacing={2}>
{/* الشعار */}
<Box>
<Box>
<img
src="/image.png"
alt="logo"
style={{
width: '4vw',
maxWidth: '80px',
height: 'auto',
objectFit: 'contain'
}}
// src="/image.png"
// alt="logo"
// style={{
// width: '4vw',
// maxWidth: '80px',
// height: 'auto',
// objectFit: 'contain'
// }}
/>
</Box>
{/* عنوان تسجيل الدخول */}
<Typography variant="h4" fontWeight={700} sx={{ fontSize: { xs: '1.8rem', sm: '2rem', md: '2.2rem' } }}>