Skip to content

Deploy to Pronamic WordPress directory #2

Deploy to Pronamic WordPress directory

Deploy to Pronamic WordPress directory #2

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-with-mollie-for-contact-form-7/
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-with-mollie-for-contact-form-7
tag: ${{ inputs.tag || github.event.release.tag_name }}