From 322078d5d6d3ac2612ff26988d49e072f9df13ed Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Wed, 12 Jul 2023 13:40:40 +0300 Subject: [PATCH] Added manual translations workflow --- .github/workflows/translations-manual.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/translations-manual.yml diff --git a/.github/workflows/translations-manual.yml b/.github/workflows/translations-manual.yml new file mode 100644 index 00000000..19862b54 --- /dev/null +++ b/.github/workflows/translations-manual.yml @@ -0,0 +1,17 @@ +name: Generate POT file manually + +on: workflow_dispatch + +jobs: + WP_Generate_POT_File: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: WordPress .pot File Generator + uses: iamdharmesh/action-wordpress-pot-generator@main + with: + destination_path: './languages' + slug: 'ultimate-member' + text_domain: 'ultimate-member' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}