Skip to content

Commit f68fb49

Browse files
committed
Use another deploy script
1 parent 3e5a52b commit f68fb49

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

.distignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
.editorconfig
44
.git
55
.gitignore
6+
.github
67
.gitlab-ci.yml
78
.travis.yml
89
.DS_Store
10+
.wordpress-org
911
Thumbs.db
1012
behat.yml
1113
bitbucket-pipelines.yml

.github/workflows/main.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,27 @@ name: Deploy FedaPay Woocommerce Plugin
22

33
on:
44
push:
5-
tags: "*"
6-
env:
7-
SVN_REPOSITORY: ${{ vars.SVN_REPOSITORY }}
8-
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
9-
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
10-
5+
tags:
6+
- "*"
117
jobs:
12-
build:
8+
tag:
9+
name: New tag
1310
runs-on: ubuntu-latest
1411
steps:
15-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@master
13+
- name: Build # Remove or modify this step as needed
14+
run: |
15+
npm install
16+
npm run build
1617
1718
- name: Install SVN ( Subversion )
1819
run: |
1920
sudo apt-get update
2021
sudo apt-get install subversion
2122
22-
- name: Deploy script
23-
run: bash ./deploy/deploy.sh
23+
- name: WordPress Plugin Deploy
24+
uses: 10up/action-wordpress-plugin-deploy@stable
25+
env:
26+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
27+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
28+
SLUG: woo-gateway-fedapay

0 commit comments

Comments
 (0)