Skip to content

Add config system

Add config system #6

Workflow file for this run

# name: CI/CD Pipeline
# on:
# push:
# branches:
# - main
# jobs:
# deploy-with-sam:
# 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'
# - name: Test
# run: make test
# - name: Build
# if: success()
# run: make build
# - name: Configure AWS credentials
# if: success()
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: eu-central-1
# - name: Deploy
# if: success()
# run: |
# sam deploy --stack-name golang-url-shortener --capabilities CAPABILITY_IAM --resolve-s3 --no-confirm-changeset --no-fail-on-empty-changeset