Skip to content

chore(improvements): Structure improvements & Update store page by ve… #23

chore(improvements): Structure improvements & Update store page by ve…

chore(improvements): Structure improvements & Update store page by ve… #23

name: Create production release
on:
push:
tags:
- '*'
env:
PHP_VERSION: 8.0
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: 📄 Clone Repository
uses: actions/checkout@v3
- name: ⚙️ Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: package-lock.json
- name: ⬇ Install npm dependencies
run: |
npm ci
- name: 📦 Build the plugin
run: |
npm run build
- 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 }}
SLUG: vo-html-sitemap
- name: 🚀 Create a new release
uses: ncipollo/release-action@v1
with:
artifacts: ${{ steps.deploy.outputs.zip_file }}
generateReleaseNotes: true