-
Notifications
You must be signed in to change notification settings - Fork 4
33 lines (33 loc) · 847 Bytes
/
deploy.yml
File metadata and controls
33 lines (33 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: deploy to wordpress.org
on:
push:
tags:
- "*"
jobs:
tag:
name: New tag
runs-on: ubuntu-latest
steps:
# Clone the repo
- uses: actions/checkout@main
# PHP version
- name: Setup PHP for min requirement
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
tools: composer
# Prepare the release
- run: |
ls
php --version
composer update
composer install --no-dev
npm install --production
ls
# Release to WordPress.org
- name: WordPress Plugin Deploy
uses: 10up/action-wordpress-plugin-deploy@master
env:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SLUG: user-export-with-their-meta-data