Trigger pipeline in gitlab repo for every commit in community-theme.palm #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy tutor | |
on: | |
push: | |
branches: [ "community-theme.palm" ] | |
jobs: | |
deploy: | |
permissions: | |
actions: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger community-theme-tutor pipeline | |
run: | | |
curl --request POST --form token=${{ secrets.GITLAB_PIPELINE_TOKEN }} --form ref=main https://gitlab.com/api/v4/projects/48712583/trigger/pipeline |