Skip to content

Commit

Permalink
feat: adding ci/cd
Browse files Browse the repository at this point in the history
nsfilho committed Oct 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 539d997 commit 03bb08c
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/devnet.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
name: Deploy for devnet

on:
push:
branches: [main]
paths:
- .github/workflows/*.yaml
- **/*.go
push:
branches: [main]

jobs:
build:
name: Deploying
runs-on: ubuntu-latest
environment: devnet
steps:
- name: Updating devnet
env:
DEVNET_UPDATE_URL: ${{ secrets.DEVNET_UPDATE_URL }}
run: |
curl -X "POST" -H 'Content-Type: application/json' -d "{}" $DEVNET_UPDATE_URL
build:
name: Deploying
runs-on: ubuntu-latest
environment: devnet
steps:
- name: Updating devnet
env:
DEVNET_UPDATE_URL: ${{ secrets.DEVNET_UPDATE_URL }}
run: |
curl -X "POST" -H 'Content-Type: application/json' -d "{}" $DEVNET_UPDATE_URL

0 comments on commit 03bb08c

Please sign in to comment.