added actions to deploy on wp.org

This commit is contained in:
Nikita 2023-11-14 21:45:28 +03:00
parent 316e242dc1
commit f8884c75c8
6 changed files with 409 additions and 1 deletions

22
.github/workflows/push-deploy.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: Deploy to WordPress.org
on:
workflow_dispatch:
push:
tags:
- 'v*'
jobs:
tag:
name: New release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@stable
env:
SLUG: ai-mind
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}