Skip to content

Commit

Permalink
feat(wp org): Added icons and updated release to wp org step
Browse files Browse the repository at this point in the history
  • Loading branch information
merlijnvanlent committed Sep 24, 2024
1 parent 8bf3607 commit 619ae94
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 13 deletions.
20 changes: 20 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.idea
.babelrc
.git
.gitignore
.github
.editorconfig
.npmrc
.nvmrc
.prettierrc
.wordpress-org
webpack.config.js
wp-package-plugin.js
node_modules/**
assets/**
docker/**
package.json
package-lock.json
docker-compose.yml
Dockerfile
docker-compose-override.yml'
35 changes: 22 additions & 13 deletions .github/workflows/production-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:

env:
PHP_VERSION: 8.0
ZIP_NAME: vo-html-sitemap.zip

jobs:
release:
Expand All @@ -16,23 +15,33 @@ jobs:
- 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: ⚙️ 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 : |
- name: ⬇ Install npm dependencies
run: |
npm ci
- name : 📦 Build and zip the plugin
run : |
npm run package
- 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: ${{ env.ZIP_NAME }}
artifacts: ${{ steps.deploy.outputs.zip_file }}
generateReleaseNotes: true
Binary file added .wordpress-org/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions .wordpress-org/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified art/social-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 619ae94

Please sign in to comment.