mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
39
.github/workflows/translation.yml
vendored
39
.github/workflows/translation.yml
vendored
@@ -2,30 +2,33 @@ name: Run the po generator script
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.repository == 'wavelog/wavelog'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: wavelog/wavelog
|
||||
ref: dev
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: wavelog/wavelog
|
||||
ref: dev
|
||||
|
||||
- name: Set up gettext
|
||||
run: sudo apt-get install -y gettext
|
||||
- name: Set up gettext
|
||||
run: sudo apt-get install -y gettext
|
||||
|
||||
- name: Run the po generator script
|
||||
run: bash po_gen.sh
|
||||
- name: Run the po generator script
|
||||
run: bash po_gen.sh
|
||||
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "github-actions"
|
||||
git config --global user.email "github-actions@github.com"
|
||||
git add .
|
||||
git commit -m "Run po_gen.sh script to update translation-files"
|
||||
git push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "github-actions"
|
||||
git config --global user.email "github-actions@github.com"
|
||||
git add .
|
||||
git commit -m "Run po_gen.sh script to update translation files"
|
||||
git push
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in New Issue
Block a user