init PHP rewrite

This commit is contained in:
Zoey
2024-04-20 18:38:03 +02:00
parent 18ae902a04
commit 2323650863
178 changed files with 25163 additions and 286 deletions

View File

@@ -6,18 +6,12 @@ on:
paths:
- .github/workflows/docker.yml
- Dockerfile
- frontend/**
- backend/**
- global/**
- rootfs/**
- src/**
pull_request:
paths:
- .github/workflows/docker.yml
- Dockerfile
- frontend/**
- backend/**
- global/**
- rootfs/**
- src/**
workflow_dispatch:
@@ -56,9 +50,7 @@ jobs:
- name: version
run: |
version="$(cat .version)+$(git rev-parse --short HEAD)"
sed -i "s|\"0.0.0\"|\"$version\"|g" frontend/js/i18n/messages.json
sed -i "s|\"0.0.0\"|\"$version\"|g" frontend/package.json
sed -i "s|\"0.0.0\"|\"$version\"|g" backend/package.json
#sed -i "s|\"0.0.0\"|\"$version\"|g" src/
- name: Build
uses: docker/build-push-action@v5
if: ${{ github.event_name != 'pull_request' }}