From f8590903691e89e741e156a48276cdeb604ea48c Mon Sep 17 00:00:00 2001 From: Mykyta Synelnikov Date: Wed, 12 Jul 2023 13:39:20 +0300 Subject: [PATCH] - added manual 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 }}