-
Notifications
You must be signed in to change notification settings - Fork 25
32 lines (28 loc) · 858 Bytes
/
deploy.yml
File metadata and controls
32 lines (28 loc) · 858 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
name: Deploy to WordPress.org
on:
release:
types: [released]
# Allow manual triggering of the workflow.
workflow_dispatch:
permissions: {}
jobs:
release:
name: New release to WordPress.org
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install SVN (Subversion)
run: |
sudo apt-get update
sudo apt-get install subversion
- name: Push to WordPress.org
uses: 10up/action-wordpress-plugin-deploy@54bd289b8525fd23a5c365ec369185f2966529c2 # 2.3.0
env:
SLUG: rewrite-rules-inspector
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}