remove terraform system #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |