Merge branch 'staging' of gitea.pena:SQuiz/frontAnswerer into staging

This commit is contained in:
Nastya 2025-07-29 00:24:52 +03:00
commit 08d7a35258
3 changed files with 4 additions and 6 deletions

@ -17,7 +17,7 @@ jobs:
DeployService: DeployService:
if: contains(github.event.package.name, 'staging') if: contains(github.event.package.name, 'staging')
runs-on: [frontstaging] runs-on: [frontstaging]
needs: CreateImage # needs: CreateImage
uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7 uses: http://gitea.pena/PenaDevops/actions.git/.gitea/workflows/deploy.yml@v1.1.4-p7
with: with:
runner: frontstaging runner: frontstaging

@ -2,9 +2,7 @@ services:
respondent: respondent:
container_name: respondent container_name: respondent
restart: unless-stopped restart: unless-stopped
labels: image: gitea.pena/squiz/frontanswerer/staging:latest
com.pena.domains: s.hbpn.link
com.pena.front_headers: "Access-Control-Allow-Origin $$http_origin always"
image: gitea.pena:3000/squiz/frontanswerer/staging:$GITHUB_RUN_NUMBER
hostname: respondent hostname: respondent
tty: true tty: true
pull_policy: always

@ -26,7 +26,7 @@
"preview": "vite preview", "preview": "vite preview",
"cypress:open": "cypress open", "cypress:open": "cypress open",
"prepublishOnly": "npm run build:package", "prepublishOnly": "npm run build:package",
"deploy": "podman login gitea.pena && podman build -t gitea.pena/squiz/frontanswerer/$(git branch --show-current):latest . && podman push gitea.pena/squiz/frontanswerer/$(git branch --show-current):latest", "deploy": "docker login gitea.pena && docker build -t gitea.pena/squiz/frontanswerer/$(git branch --show-current):latest . && docker push gitea.pena/squiz/frontanswerer/$(git branch --show-current):latest",
"prepare": "husky" "prepare": "husky"
}, },
"devDependencies": { "devDependencies": {