Update gettext.yml

This commit is contained in:
Danielle Foré 2023-02-11 09:23:33 -08:00 committed by GitHub
parent c917c6efba
commit fc08f7500c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,29 @@
name: Gettext updates name: Gettext Updates
on: on:
push: push:
branches: master branches: master
jobs: jobs:
gettext_template: build:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
container:
image: elementary/docker:next-unstable
steps: steps:
- uses: actions/checkout@v1 - name: Install git
- uses: elementary/actions/gettext-template@master run: |
apt-get update
apt-get install git -y
- name: Clone repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_USER_TOKEN }}
- name: Update Translation Files
uses: elementary/actions/gettext-template@next
env: env:
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}" GIT_USER_TOKEN: ${{ secrets.GIT_USER_TOKEN }}
GIT_USER_NAME: "elementaryBot" GIT_USER_NAME: "elementaryBot"
GIT_USER_EMAIL: "builds@elementary.io" GIT_USER_EMAIL: "builds@elementary.io"