chore(improvements): Structure improvements & Update store page by ve… #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |