Skip to content

run GA on push to main and feature branch (#197) #1

run GA on push to main and feature branch (#197)

run GA on push to main and feature branch (#197) #1

Workflow file for this run

name: Generate POT
on:
push:
branches:
- main
- translations
tags:
- "**"
jobs:
WP_POT_Generator:
if: github.repository == 'aspirepress/aspireupdate'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: WordPress POT Generator
uses: varunsridharan/action-wp-pot-generator@^2
with:
save_path: "./languages"
item_slug: "${{ github.event.repository.name }}"
domain: "${{ github.event.repository.name }}"
package_name: "${{ github.event.repository.name }}"
headers: '{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/issues"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}