Merge pull request #152 from wpsmartpay/feat/workflow_manual_trigger #84
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 to WordPress.org | |
on: | |
# Manual workflow trigger | |
workflow_dispatch: | |
push: | |
tags: | |
- '*' | |
jobs: | |
tag: | |
name: New tag | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone | |
uses: actions/checkout@v3 | |
- name: Setup PHP with PECL extension | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
- name: Build | |
run: | | |
sudo apt-get install libkrb5-dev -y | |
npm install | |
composer install --no-dev | |
npm run build | |
- name: WordPress Plugin Deploy | |
uses: 10up/action-wordpress-plugin-deploy@master | |
env: | |
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }} | |
SVN_USERNAME: ${{ secrets.SVN_USERNAME }} | |
SLUG: smartpay |