update duploy

This commit is contained in:
Nastya 2025-08-13 01:47:03 +03:00 committed by skeris
parent 8a1067bfd5
commit 5f3460d3a6
4 changed files with 56 additions and 18 deletions

@ -6,20 +6,32 @@ on:
types: [published]
jobs:
CreateImage:
runs-on: [skeris]
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
with:
runner: skeris
secrets:
REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
# CreateImage:
# runs-on: [skeris]
# uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p
# with:
# runner: skeris
# secrets:
# REGISTRY_USER: ${{ secrets.REGISTRY_USER }}
# REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}
# DeployService:
# runs-on: [frontprod]
# needs: CreateImage
# uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
# with:
# runner: hubprod
# actionid: ${{ gitea.run_id }}
#
DeployService:
if: contains(github.event.package.name, 'main')
runs-on: [frontprod]
needs: CreateImage
uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
with:
runner: hubprod
actionid: ${{ gitea.run_id }}
container:
image: gitea.pena/penadevops/container-images/node-compose:main
env:
GITHUB_RUN_NUMBER: "${{ inputs.actionid }}"
volumes:
- /run/user/1000/podman/podman.sock:/run/user/1000/podman/podman.sock
steps:
- name: Check out repository code
uses: http://gitea.pena/PenaDevops/actions.git/checkout@v1
- run: compose -f deployments/main/docker-compose.yaml up -d

@ -2,6 +2,7 @@ services:
squiz:
container_name: squiz
restart: unless-stopped
image: gitea.pena/squiz/frontpanel/main:$GITHUB_RUN_NUMBER
image: gitea.pena/squiz/frontpanel/main:$latest
hostname: squiz
tty: true
pull_policy: always

@ -0,0 +1,10 @@
import { Box, SxProps } from "@mui/material";
import PostbackDefault from "./Postback";
import PostbackPC from "./PostbackPC";
export const PostbackLogo = (sx: SxProps) => (
<Box sx={{ display: "flex", alignItems: "center", gap: 1, ...sx }}>
<PostbackPC sx={{ width: "24px", height: "20px" }} />
<PostbackDefault sx={{ width: "40px", height: "8px" }} />
</Box>
);

@ -0,0 +1,15 @@
import { Box, SxProps } from "@mui/material";
export const ZapierLogo = (sx: SxProps) => (
<Box
component="img"
src="/src/assets/icons/logo/zapier.png"
alt="Zapier"
sx={{
width: "40px",
height: "40px",
objectFit: "contain",
...sx,
}}
/>
);