Skip to content

Commit

Permalink
ci: fix workflows [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed May 17, 2024
1 parent dd68187 commit 5645428
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/wporg-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Deploy to WordPress.org

on:
workflow_dispatch:
push:
tags:
- "*"
Expand All @@ -27,12 +28,18 @@ jobs:
composer install --prefer-dist --no-progress --no-suggest --ignore-platform-reqs
pnpm run deploy
- name: Get version from package.json
id: get_version
run: |
VERSION=$(node -p "require('./package.json').version")
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: WordPress Theme Deploy
uses: Codeinwp/action-wordpress-theme-deploy@v1.0
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USER }}
VERSION: ${{ env.VERSION }}
BUILD_DIR: 'deploy/jadro'
SLUG: 'jadro'


0 comments on commit 5645428

Please sign in to comment.