We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e99d252 commit 9e441eeCopy full SHA for 9e441ee
.github/workflows/deploy-to-wordpress.yml
@@ -2,13 +2,22 @@ name: Deploy to WordPress.org
2
on:
3
release:
4
types: [ published ]
5
+ workflow_dispatch:
6
+ inputs:
7
+ tag:
8
+ description: 'Tag to deploy'
9
+ required: true
10
+ default: 'latest'
11
+
12
jobs:
13
tag:
14
name: New release
15
runs-on: ubuntu-latest
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v4
19
+ with:
20
+ ref: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
21
22
- name: Setup PHP
23
uses: shivammathur/setup-php@v2
@@ -31,4 +40,3 @@ jobs:
31
40
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
32
41
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
33
42
SLUG: wpgraphql-smart-cache
34
- DEBUG: true
0 commit comments