Browse Source

better formatting

pull/1829/head
Bernd Storath 4 months ago
parent
commit
14d4b84930
  1. 3
      .github/workflows/deploy-development.yml
  2. 3
      .github/workflows/deploy-edge.yml
  3. 4
      .github/workflows/deploy.yml
  4. 2
      Dockerfile

3
.github/workflows/deploy-development.yml

@ -73,8 +73,7 @@ jobs:
docker-merge:
name: Merge & Deploy Docker
runs-on: ubuntu-latest
if: |
github.repository_owner == 'wg-easy'
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
contents: read

3
.github/workflows/deploy-edge.yml

@ -84,8 +84,7 @@ jobs:
docker-merge:
name: Merge & Deploy Docker
runs-on: ubuntu-latest
if: |
github.repository_owner == 'wg-easy'
if: github.repository_owner == 'wg-easy'
permissions:
packages: write
contents: read

4
.github/workflows/deploy.yml

@ -163,8 +163,8 @@ jobs:
git fetch origin gh-pages --depth=1 || true
# Extract version numbers
DOCS_VERSION=${GITHUB_REF#refs/tags/} # e.g. v1.2.3 or v1.2.3-beta
MINOR_VERSION=$(echo $DOCS_VERSION | cut -d. -f1,2) # e.g. v1.2
DOCS_VERSION=${GITHUB_REF#refs/tags/} # e.g. v1.2.3 or v1.2.3-beta
MINOR_VERSION=$(echo $DOCS_VERSION | cut -d. -f1,2) # e.g. v1.2
# Check if it's a stable release (only numbers, no '-')
if [[ "$DOCS_VERSION" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then

2
Dockerfile

@ -28,7 +28,7 @@ COPY --from=build /app/server/database/migrations /app/server/database/migration
# libsql
RUN cd /app/server && npm install --no-save libsql
# cli
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli
COPY --from=build /app/cli/cli.sh /usr/local/bin/cli
RUN chmod +x /usr/local/bin/cli
# Install Linux packages

Loading…
Cancel
Save