Skip to content

Commit

Permalink
Create deploy-to-wp-pronamic-directory.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Dec 17, 2024
1 parent 429ba7c commit 7417d40
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy-to-wp-pronamic-directory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy to Pronamic WordPress directory

on:
workflow_dispatch:
inputs:
tag:
description: 'Release tag to deploy'
type: string
release:
types: [released]

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: Pronamic WordPress directory
url: https://wp.pronamic.directory/plugins/pronamic-pay-adyen/

permissions:
id-token: 'write'

steps:
- name: Deploy
uses: pronamic/action-wp-pronamic-directory-plugin-deploy@main
with:
username: ${{ vars.WP_PRONAMIC_DIRECTORY_USERNAME }}
password: ${{ secrets.WP_PRONAMIC_DIRECTORY_PASSWORD }}
slug: pronamic-pay-adyen
tag: ${{ inputs.tag || github.event.release.tag_name }}

0 comments on commit 7417d40

Please sign in to comment.