fix CI deploy

This commit is contained in:
aslan 2024-02-05 13:14:29 +03:00
parent 4be02e663b
commit cc7d6eb5ea
1 changed files with 51 additions and 51 deletions

View File

@ -9,59 +9,59 @@ on:
- main - main
jobs: jobs:
# build: build:
# runs-on: ubuntu-latest runs-on: ubuntu-latest
#
# strategy: strategy:
# matrix: matrix:
# php-versions: [ '8.3' ] php-versions: [ '8.3' ]
# node-version: ['20.x'] node-version: ['20.x']
#
# steps: steps:
# - uses: actions/checkout@v4 - uses: actions/checkout@v4
#
# - name: Set up PHP ${{ matrix.php-versions }} - name: Set up PHP ${{ matrix.php-versions }}
# uses: shivammathur/setup-php@v2 uses: shivammathur/setup-php@v2
# with: with:
# php-version: ${{ matrix.php-versions }} php-version: ${{ matrix.php-versions }}
#
# - 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
# - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64 - run: echo $COMPOSER_AUTH|jq -r '.["github-oauth"]["github.com"]'|base64
# - run: echo $GITHUB_TOKEN|base64 - run: echo $GITHUB_TOKEN|base64
# - name: Diagnose composer - name: Diagnose composer
# env: env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer diagnose -vvv run: composer diagnose -vvv
# - name: Install dependencies - name: Install dependencies
# env: env:
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH_JSON }} # only this works
# run: composer install # will work run: composer install # will work
#
# - name: Setup sqlite3 driver - name: Setup sqlite3 driver
# run: apt install php${{ matrix.php-versions }}-sqlite3 -y run: apt install php${{ matrix.php-versions }}-sqlite3 -y
#
# - name: Setup project - name: Setup project
# run: make setup run: make setup
#
# - 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: Checkout - name: Checkout