File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed
Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,22 @@ name: Deploy FedaPay Woocommerce Plugin
22
33on :
44 push :
5- tags :
6- - ' *'
5+ tags : " *"
6+ env :
7+ SVN_REPOSITORY : ${{ vars.SVN_REPOSITORY }}
8+ SVN_PASSWORD : ${{ secrets.SVN_PASSWORD }}
9+ SVN_USERNAME : ${{ secrets.SVN_USERNAME }}
710
811jobs :
912 build :
1013 runs-on : ubuntu-latest
1114 steps :
1215 - uses : actions/checkout@v2
1316
14- - name : WordPress Plugin Deploy
15- id : deploy
16- uses : richard-muvirimi/deploy-wordpress-plugin@development
17- with :
18- svn-username : ${{ secrets.SVN_USERNAME }}
19- svn-password : ${{ secrets.SVN_PASSWORD }}
20- plugin-repository : woo-gateway-fedapay
17+ - name : Install SVN ( Subversion )
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install subversion
21+
22+ - name : Deploy script
23+ run : bash ./deploy/deploy.sh
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ rm -rf wordpress_org_assets/ deploy/
1313# 4. Copy git repository contents to SNV trunk/ directory
1414rsync -r -p ./* $SVN_DIR /trunk/
1515
16+ echo $GITHUB_REF_NAME
17+
1618# 5. Create SVN tag
1719mkdir -p $SVN_DIR /tags/$GITHUB_REF_NAME
1820rsync -r -p ./* $SVN_DIR /tags/$GITHUB_REF_NAME
You can’t perform that action at this time.
0 commit comments