Skip to content

🔖 Prepare version 1.4.0 #21

🔖 Prepare version 1.4.0

🔖 Prepare version 1.4.0 #21

name: Deploy to WordPress.org
on:
push:
tags:
- "*"
- "!*-*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Run npm build
- uses: bahmutov/npm-install@v1
- name: Run
run: npm run build
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
with:
generate-zip: true
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
# Create release
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v2
with:
files: ${{ github.event.repository.name }}.zip
name: Release ${{ github.ref_name }}