all repos — website @ 3c25c02d670e1e95608312c59aa90fde5b508d4c

My official website.

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

3c25c02d670e1e95608312c59aa90fde5b508d4c

parent

ea0a1221938b48ec13381e6e118734c365598496

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

jump to
A .gitea/workflows/production.yaml

@@ -0,0 +1,23 @@

+name: Production Deployment + +on: + push: + branches: + - 'main' + +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\":\"production\",\"git\":{ \"branch\": \"${{ github.ref_name }}\" } }" \ + https://deploy.fmd.gg/api/v1/apps/2nnjlusmcYTFzgKHFxmGLzAtkAH/deployments