Skip to content

Commit

Permalink
Create config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
imrkgofficial authored Nov 27, 2024
1 parent 6e0419e commit 40371e9
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2.1

jobs:
build:
docker:
- image: golang:1.23.3
steps:
- checkout
- run:
name: Install Dependencies
command: go mod tidy
- run:
name: Run Tests
command: go test ./...
- run:
name: Build Application
command: go build -o bank-ifsc main.go

deploy:
docker:
- image: golang:1.23.3
steps:
- checkout
- run:
name: Deploy Application
command: |
echo "Deploying application..."
# Add your deployment steps here (e.g., deploy with Docker/Portainer)
workflows:
version: 2
build_and_deploy:
jobs:
- build
- deploy:
requires:
- build

0 comments on commit 40371e9

Please sign in to comment.