chore(release): 4.3.0 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
tag: | |
name: New version | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Get the version | |
id: get_version | |
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} | |
- name: Build | |
run: | | |
npm ci | |
composer install --no-dev --prefer-dist --no-progress --no-suggest | |
- name: WordPress Plugin Deploy | |
uses: 10up/action-wordpress-plugin-deploy@master | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_THEMEISLE_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_THEMEISLE_USERNAME }} | |
- name: Send update to the store | |
env: | |
PRODUCT_ID: ${{ secrets.THEMEISLE_ID }} | |
AUTH_TOKEN: ${{ secrets.THEMEISLE_STORE_AUTH }} | |
STORE_URL: ${{ secrets.THEMEISLE_STORE_URL }} | |
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }} | |
BUILD_VERSION: ${{ steps.get_version.outputs.VERSION }} | |
uses: Codeinwp/action-store-release@main |