14 Commits
4 changed files with 9 additions and 64 deletions
-18
View File
@@ -1,18 +0,0 @@
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
@@ -1,19 +0,0 @@
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
@@ -1,17 +0,0 @@
{
"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,19 +141,18 @@ 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' } }}>