Skip to content

Workflow file for this run

name: Update related themes
on:
release:
types: [released]
jobs:
update:
name: Update themes
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> "$GITHUB_OUTPUT"
- name: Trigger job
run: |
curl --fail --request POST \
--form token=${{ secrets.TOKEN }} \
--form ref=master \
--form "variables[ADDON_NAME]=io-sanita-theme" \
--form "variables[ADDON_TAG]=${{ steps.get_version.outputs.VERSION }}" \
"https://gitlab.com/api/v4/projects/${{ secrets.PROJECT_ID }}/trigger/pipeline"