.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 |