stages:
  - test
  - build
  - deploy

test:
  stage: test
  script: echo "Running tests"

build:
  stage: build
  script: echo "Building the app"

deploy_staging:
  stage: deploy

  script:
    - echo "Deploy to staging server"
  environment:
    name: staging
    url: https://daniels.coolserver.com/file/path/to/discord/js/file.js
  only:
  - master