Skip to content

Merge pull request #51 from w4devInc/localization-error #7

Merge pull request #51 from w4devInc/localization-error

Merge pull request #51 from w4devInc/localization-error #7

Workflow file for this run

name: Deploy to WordPress.org Repository
on:
push:
tags:
- "*"
jobs:
deploy_to_wp_repository:
name: Deploy to WP.org
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Build
run: |
npm install
npm run build-block
npm run build-plugin
- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
- name: Upload release asset
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Provide what the file should be named when attached to the release (plugin-name.zip)
files: ${{ github.workspace }}/${{ github.event.repository.name }}.zip