Skip to content

Commit

Permalink
Update trunk pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
veidenbaums committed Sep 16, 2024
1 parent cea5f7c commit 4216e52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy-trunk-version-wp-org.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
yarn --cwd ./builder install
node ./builder/_infrastructure/vcwb-builder/builder plugin -b dev -p ./
- name: Upload plugin zip
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: visualcomposer.zip
path: visualcomposer.zip
Expand All @@ -30,9 +30,10 @@ jobs:
needs: [build-plugin]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v1
- uses: actions/download-artifact@v3
with:
name: visualcomposer.zip
path: visualcomposer.zip
- name: Checkout Wordpress.org svn repository
run: svn co https://plugins.svn.wordpress.org/visualcomposer visualcomposer-wordpress-org
- name: Unzip visualcomposer
Expand All @@ -47,4 +48,4 @@ jobs:
cd ./visualcomposer-wordpress-org
svn add --force ./trunk/* > /dev/null
svn status | grep '^\!' | sed 's/! *//' | xargs -I% svn rm % > /dev/null
svn ci -m "Trunk update with the latest version" --username "$WP_USERNAME" --password "$WP_PASSWORD"
svn ci -m "Trunk update with the latest version" --username "$WP_USERNAME" --password "$WP_PASSWORD"

0 comments on commit 4216e52

Please sign in to comment.