Mount SMB share

Good afternoon

I’m trying to mount an SMB share on my macOS gitlab runner but I’m getting this error:
mount\_smbfs: could not find mount point /Users/Shared/mount_point: No such file or directory

I’ve tried triggering the mount using a script and adding the command to the gitlab-ci.yml file.
I have confirmed that the mount_point is created and the script works when run manually.

Any help/pointers would be gratefully accepted :slight_smile:

This is what’s in my gitlab-ci.yml

mount_repo:
stage: build
script:
    - mkdir -p /Users/Shared/mount_point/
    - mount_smbfs smb://$SMB_USER:$SMB_PASSWORD@macpatch/git_munki /Users/Shared/mount_point/