Skip to content

Commit

Permalink
Add scheduled task for project translation and package for PR alterin…
Browse files Browse the repository at this point in the history
…g QGIS project

Add scheduled task for project translation and creating a downloadable package for PR altering QGIS project
  • Loading branch information
ponceta committed Oct 25, 2024
1 parent 6403a28 commit c7f668f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/project-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ on:
paths:
- project/**
- '.github/workflows/project-translation.yml'
pull_request:
branches:
- main
paths:
- project/**
- '.github/workflows/project-translation.yml'
schedule:
- cron: "30 04 * * *"
workflow_dispatch:


Expand Down Expand Up @@ -42,6 +50,7 @@ jobs:
run: docker compose run qgis sh -c 'xvfb-run /usr/src/project/scripts/project-translation-create-source.py /usr/src/project/teksi_wastewater.qgs'

- name: Push to TX
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
working-directory: project
run: ./tx push --source

Expand Down

0 comments on commit c7f668f

Please sign in to comment.