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 }}