test7 #24
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: DEPLOY wp plugin | |
on: | |
push: | |
branches: | |
- integ | |
# 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 Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
with: | |
version: nightly | |
- name: Print forge location | |
run: which forge | |
- name: Print $HOME | |
run: echo $HOME | |
- 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 |