Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip-Larsen-Donnelly authored Nov 8, 2023
1 parent 7951e7d commit 71112a6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Transifex Workflow

on:
push:
branches:
- main
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '11 21 * * *'
workflow_dispatch:

jobs:
transifex:
Expand All @@ -26,14 +27,14 @@ jobs:

- name: Add Transifex remotes
run: |
tx add remote --file-filter 'projects/<project_slug>/<lang>/<resource_slug>' --minimum-perc 100 https://app.transifex.com/hisp-uio/docs-full-site/dashboard/
tx add remote --file-filter 'projects/<project_slug>/<lang>/<resource_slug>' --minimum-perc 100 https://app.transifex.com/hisp-uio/dhis2-single-page-docs/dashboard/
./tx add remote --file-filter 'projects/<project_slug>/<lang>/<resource_slug>' --minimum-perc 100 https://app.transifex.com/hisp-uio/docs-full-site/dashboard/
./tx add remote --file-filter 'projects/<project_slug>/<lang>/<resource_slug>' --minimum-perc 100 https://app.transifex.com/hisp-uio/dhis2-single-page-docs/dashboard/
shell: bash
working-directory: ${{ github.workspace }}

- name: Pull Transifex resources
run: |
tx pull --all
./tx pull --all
shell: bash
working-directory: ${{ github.workspace }}

Expand Down

0 comments on commit 71112a6

Please sign in to comment.