Added private build

This commit is contained in:
Constantin Graf
2024-04-11 13:00:09 +02:00
parent 91128ae0b3
commit 6e2d0739ef
6 changed files with 102 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
on:
push:
name: Build
name: Build - Public
jobs:
build:
runs-on: ubuntu-latest
@@ -9,13 +9,15 @@ jobs:
- name: "Check out code"
uses: actions/checkout@v4
- name: "Copy .env template for production"
run: cp .env.production .env
- name: "Install dependencies"
uses: php-actions/composer@v6
if: steps.cache-vendor.outputs.cache-hit != 'true' # Skip if cache hit
with:
command: install
dev: no
only_args: --no-ansi --no-interaction --no-scripts --prefer-dist --ignore-platform-reqs --classmap-authoritative
only_args: --no-dev --no-ansi --no-interaction --no-scripts --prefer-dist --ignore-platform-reqs --classmap-authoritative
php_version: 8.3
- name: "Use Node.js"