Skip to content

zerz

zerz #28

name: DEPLOY wp plugin
on:
push:
branches:
- dev
# tags:
# - "v*"
jobs:
deploy:
name: Deploy Plugin to WordPress.org
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 8.15.8
- name: Build wp plugin
run: pnpm deploy:plugin
env:
ENVIR: PROD
NODE_DEBUG: false
GIT_BRANCH: main
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
ALCHEMY_API_KEY_POLYGON: ${{ secrets.ALCHEMY_API_KEY_POLYGON }}
ALCHEMY_API_KEY_ARBITRUM: ${{ secrets.ALCHEMY_API_KEY_ARBITRUM }}
ALCHEMY_API_KEY_OPTIMISM: ${{ secrets.ALCHEMY_API_KEY_OPTIMISM }}
ALCHEMY_API_KEY_BASE: ${{ secrets.ALCHEMY_API_KEY_BASE }}
ANKR_API_KEY: ${{ secrets.ANKR_API_KEY }}
COVALENT_API_KEY: ${{ secrets.COVALENT_API_KEY }}
NFT_STORAGE_KEY: ${{ secrets.NFT_STORAGE_KEY }}
# - name: Deploy
# uses: nk-o/action-wordpress-plugin-deploy@master
# env:
# SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
# SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
# SOURCE_DIR: wordpress/plugins/kredeum-nfts/
# ASSETS_DIR: wordpress/assets
# SLUG: kredeum-nfts