Skip to content

restructure the cicd #17

restructure the cicd

restructure the cicd #17

Workflow file for this run

name: Build and Run
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.5
- name: Build and Run
run: |
go build -o main
./main
env:
PORT: ${{ secrets.PORT }}
JWT_SECRET_KEY: ${{ secrets.JWT_SECRET_KEY }}