Skip to content

πŸ”– Prepare version 1.4.2 #21

πŸ”– Prepare version 1.4.2

πŸ”– Prepare version 1.4.2 #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: npm build
run: npm run build
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
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 }}