add deb-rpm-repo-hook (#1284)

This commit is contained in:
Pavlo Rudy
2022-10-09 20:17:21 +03:00
committed by GitHub
parent 1aeca3ebce
commit 2c17eed9d3

View File

@@ -184,3 +184,13 @@ jobs:
snap: ${{ steps.build.outputs.snap }}
release: stable
if: env.SHOULD_DEPLOY == 'yes'
deb-rpm-repo-hook:
needs: build
runs-on: ubuntu-latest
if: needs.build.outputs.SHOULD_DEPLOY == 'yes'
steps:
- name: Trigger repository rebuild
run: curl -X POST --fail -F token=$GL_PAGES_TOKEN -F ref=master https://gitlab.com/api/v4/projects/8762263/trigger/pipeline
env:
GL_PAGES_TOKEN: ${{ GL_PAGES_TOKEN }}