# Set the FTP username variable
- export FTP_USERNAME="example@gmail.com"
# Use the variable in the FTP Deployments script
- pipe: atlassian/ftp-deploy:0.3.4
variables:
FTP_USERNAME: $FTP_USERNAME
FTP_PASSWORD: $FTP_PASSWORD
REMOTE_PATH: 'public_html/'
LOCAL_DIR: 'build/'
这将避免在FTP Deployments中使用包含'@”符号的用户名的问题。