Skip to content

Commit

Permalink
feat: automate deployment (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
MantisClone authored Sep 4, 2024
1 parent c5ac59d commit 8e4c054
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/deploy-to-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy to production

on:
workflow_dispatch:
release:
types: [published]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Webhook request
run: |
curl -X GET https://prod.request.network/api/deploy/${{ secrets.EASYPANEL_DEPLOY_KEY_PRODUCTION }}
14 changes: 14 additions & 0 deletions .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Deploy to staging

on:
workflow_dispatch:
push:
branches: [main]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Webhook request
run: |
curl -X GET https://stage.request.network/api/deploy/${{ secrets.EASYPANEL_DEPLOY_KEY_STAGING }}

0 comments on commit 8e4c054

Please sign in to comment.