all repos — website @ main

My official website.

.onedev-buildspec.yml (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
version: 36
jobs:
- name: Production Deployment
  steps:
  - !CheckoutStep
    name: Checkout Code
    cloneCredential: !DefaultCredential {}
    withLfs: false
    withSubmodules: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !CommandStep
    name: Deploy to SEELF
    runInContainer: true
    image: curlimages/curl:latest
    interpreter: !DefaultInterpreter
      commands: |
        curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"production\",\"git\":{ \"branch\": \"@branch@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments
    useTTY: true
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  triggers:
  - !BranchUpdateTrigger
    branches: main
    projects: michael/website
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 14400
- name: Staging Deployment
  steps:
  - !CheckoutStep
    name: Checkout Code
    cloneCredential: !DefaultCredential {}
    withLfs: false
    withSubmodules: false
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  - !CommandStep
    name: Deploy to SEELF
    runInContainer: true
    image: curlimages/curl:latest
    interpreter: !DefaultInterpreter
      commands: |
        curl -i -X POST -H "Authorization: Bearer @secret:SEELF_API_KEY@" -H "Content-Type: application/json" -d "{ \"environment\":\"staging\",\"git\":{ \"branch\": \"@branch@\" } }" https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments
    useTTY: true
    condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
  triggers:
  - !BranchUpdateTrigger
    branches: staging
    projects: michael/website
  retryCondition: never
  maxRetries: 3
  retryDelay: 30
  timeout: 14400