Skip to content

Update DB

Update DB #78

Workflow file for this run

name: Update DB
on:
workflow_dispatch:
schedule:
- cron: '0 0 1,15 * *' # 1st and 15th of every month
jobs:
update_db:
name: "Update DB"
runs-on: ubuntu-latest
env:
TRIGGER_TOKEN: ${{ secrets.TRIGGER_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
- name: Trigger CI
run: |
COMMIT_HASH=$(git show HEAD | grep "^commit " | cut -f2 -d" ")
curl --request POST --form token=$TRIGGER_TOKEN --form ref=$COMMIT_HASH https://gitlab.com/api/v4/projects/36844106/trigger/pipeline