Skip to content

Добавляет composer.lock в репозиторий, наводит порядок в composer.json #18

Добавляет composer.lock в репозиторий, наводит порядок в composer.json

Добавляет composer.lock в репозиторий, наводит порядок в composer.json #18

Workflow file for this run

name: Production Deployment
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Get Composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- name: Set up Composer caching
uses: actions/cache@v2
env:
cache-name: cache-composer-dependencies
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install Composer dependencies
run: |
composer install --prefer-dist --no-suggest --no-progress --no-ansi --no-interaction --no-dev
echo "${PWD}/vendor/bin" >> $GITHUB_PATH
- name: Deploy to WordPress.org
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: mihdan-yandex-turbo-feed