deploy_stage: stage: deploy environment: Staging only: - development script: - rm -rf /Users/kwilliams/Documents/Development/ - mkdir -p /Users/kwilliams/Documents/Development - ls > /Users/kwilliams/ls.txt - mv ./* /Users/kwilliams/Documents/Development deploy_production: stage: deploy environment: Production only: - master script: - rm -rf /Users/kwilliams/Documents/Deployed - mkdir -p /Users/kwilliams/Documents/Deployed - mv ./* /Users/kwilliams/Documents/Deployed