feat: add workflow to send weekly timesheets to Odoo
This commit is contained in:
parent
d0f035d405
commit
77a3726c30
18
.gitea/workflows/test-timesheets.yaml
Normal file
18
.gitea/workflows/test-timesheets.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
name: Send Weekly Timesheets to Odoo
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '*/10 * * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
weekly-timesheets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Send Weekly Timesheets to Odoo
|
||||
uses: https://gitea.ethumada.com/gitea/export-issue-tracked-times@v1.0.0
|
||||
with:
|
||||
fastapi-base-url: ${{ secrets.FASTAPI_BASE_URL }}
|
||||
fastapi-token: ${{ secrets.FASTAPI_TOKEN }}
|
||||
Loading…
x
Reference in New Issue
Block a user