all repos — website @ bf2ab39d221ebabd17a9fab96f439ac7168f1b5e

My official website.

Add .gitea/workflows/staging.yaml
Michael Kinder michael@noreply.git.foggymtndrifter.com
Tue, 22 Oct 2024 13:45:16 -0400
commit

bf2ab39d221ebabd17a9fab96f439ac7168f1b5e

parent

3c25c02d670e1e95608312c59aa90fde5b508d4c

1 files changed, 23 insertions(+), 0 deletions(-)

jump to
A .gitea/workflows/staging.yaml

@@ -0,0 +1,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