From 9496a627fde60a66c8ea71249a551b57d8364363 Mon Sep 17 00:00:00 2001 From: aslan Date: Thu, 14 Mar 2024 11:42:02 +0300 Subject: [PATCH] add gitea host to CI deploy --- .gitea/workflows/php.yml | 100 +++++++++++++++++++-------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/.gitea/workflows/php.yml b/.gitea/workflows/php.yml index cace4d5..a87d978 100644 --- a/.gitea/workflows/php.yml +++ b/.gitea/workflows/php.yml @@ -9,58 +9,58 @@ on: - main jobs: - build: - runs-on: ubuntu-latest - - strategy: - matrix: - php-version: [ '8.3' ] - node-version: ['20.x'] - composer-version: ['2.6.6'] - - steps: - - uses: actions/checkout@v4 - - - name: Set up PHP ${{ matrix.php-version }} with extensions and tools - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-version }} - coverage: xdebug - extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite - tools: composer:${{ matrix.composer-version }} - ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M - env: - debug: true - - - name: PHP Security Checker - uses: StephaneBour/actions-php-security-checker@1.1 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - - - name: Add keys - run: | - sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub - sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub - - - name: Install dependencies - env: - COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} - run: composer install - - - name: Setup project - run: make setup-ci - - - name: Check lint - run: make lint - - - name: Check tests - run: make test +# build: +# runs-on: ubuntu-latest +# +# strategy: +# matrix: +# php-version: [ '8.3' ] +# node-version: ['20.x'] +# composer-version: ['2.6.6'] +# +# steps: +# - uses: actions/checkout@v4 +# +# - name: Set up PHP ${{ matrix.php-version }} with extensions and tools +# uses: shivammathur/setup-php@v2 +# with: +# php-version: ${{ matrix.php-version }} +# coverage: xdebug +# extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite +# tools: composer:${{ matrix.composer-version }} +# ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M +# env: +# debug: true +# +# - name: PHP Security Checker +# uses: StephaneBour/actions-php-security-checker@1.1 +# +# - name: Use Node.js ${{ matrix.node-version }} +# uses: actions/setup-node@v3 +# with: +# node-version: ${{ matrix.node-version }} +# +# - name: Add keys +# run: | +# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub +# sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub +# +# - name: Install dependencies +# env: +# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} +# run: composer install +# +# - name: Setup project +# run: make setup-ci +# +# - name: Check lint +# run: make lint +# +# - name: Check tests +# run: make test deploy: - needs: build +# needs: build runs-on: ubuntu-latest steps: - name: deploy to test server