all repos — website @ f0b9760e18484cb0dee3b6976095c7ab8320b59d

My official website.

.gitea/workflows/staging.yaml (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
name: Staging Deployment

on:
  push:
    branches:
      - 'staging'

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Deploy to SEELF
        env:
          SEELF_API_KEY: ${{ secrets.SEELF_API_KEY }}
        run: |
          curl -i -X POST \
            -H "Authorization:Bearer $SEELF_API_KEY" \
            -H "Content-Type: application/json" \
            -d "{ \"environment\":\"staging\",\"git\":{ \"branch\": \"${{ github.ref_name }}\" } }" \
            https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments