Skip to content

Commit

Permalink
substitution must happen in yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-vanpraet committed Oct 30, 2024
1 parent 5c0c6cc commit 07fe030
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/mirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ set -euo pipefail

echo "${GITHUB_EVENT_NAME}"
echo "${GITHUB_REF}"
echo "Triggers: ${{ github.event.ref }} - ${{ github.event.ref_type }}"
echo "github.event.ref: $GH_EV_RF"
echo "github.event.ref_type: $GH_EV_RF_T"


function git-setup() {
printf -v url "https://%s:%s@%s" \
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/gitlab_mirroring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ jobs:
GITLAB_REPOSITORY: "https://gitlab.dropsolid.com/project/mauticorg.git"
GITLAB_USERNAME: ${{ github.actor }}
GITLAB_TOKEN: ${{ secrets.GITLAB_MIRRORING_TOKEN }}
GH_EV_RF: ${{ github.event.ref }}
GH_EV_RF_T: ${{ github.event.ref_type }}

0 comments on commit 07fe030

Please sign in to comment.