add gitea host to CI deploy

This commit is contained in:
aslan 2024-03-14 11:57:33 +03:00
parent dcac3ed4a9
commit 00ae3b8938
1 changed files with 50 additions and 50 deletions

View File

@ -9,58 +9,58 @@ on:
- main - main
jobs: jobs:
# build: build:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
#
# strategy: strategy:
# matrix: matrix:
# php-version: [ '8.3' ] php-version: [ '8.3' ]
# node-version: ['20.x'] node-version: ['20.x']
# composer-version: ['2.6.6'] composer-version: ['2.6.6']
#
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
#
# - name: Set up PHP ${{ matrix.php-version }} with extensions and tools - name: Set up PHP ${{ matrix.php-version }} with extensions and tools
# uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
# with: with:
# php-version: ${{ matrix.php-version }} php-version: ${{ matrix.php-version }}
# coverage: xdebug coverage: xdebug
# extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite
# tools: composer:${{ matrix.composer-version }} tools: composer:${{ matrix.composer-version }}
# ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M ini-values: opcache.enable_cli=1, opcache.jit=tracing, opcache.jit_buffer_size=64M
# env: env:
# debug: true debug: true
#
# - name: PHP Security Checker - name: PHP Security Checker
# uses: StephaneBour/actions-php-security-checker@1.1 uses: StephaneBour/actions-php-security-checker@1.1
#
# - name: Use Node.js ${{ matrix.node-version }} - name: Use Node.js ${{ matrix.node-version }}
# uses: actions/setup-node@v3 uses: actions/setup-node@v3
# with: with:
# node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
#
# - name: Add keys - name: Add keys
# run: | run: |
# sudo curl -o ~/.composer/keys.tags.pub -sL https://composer.github.io/releases.pub 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 sudo curl -o ~/.composer/keys.dev.pub -sL https://composer.github.io/snapshots.pub
#
# - name: Install dependencies - name: Install dependencies
# env: env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }}
# run: composer install run: composer install
#
# - name: Setup project - name: Setup project
# run: make setup-ci run: make setup-ci
#
# - name: Check lint - name: Check lint
# run: make lint run: make lint
#
# - name: Check tests - name: Check tests
# run: make test run: make test
deploy: deploy:
# needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: deploy to test server - name: deploy to test server