Skip to content

Merge pull request #543 from shogo82148/introduce-slog #374

Merge pull request #543 from shogo82148/introduce-slog

Merge pull request #543 from shogo82148/introduce-slog #374

Workflow file for this run

name: deploy to production
on:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
statuses: write
contents: read
environment: production
steps:
- name: Check out code
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Go
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
with:
cache: true
go-version-file: provider/github-app-token/go.mod
cache-dependency-path: provider/github-app-token/go.sum
- name: build
run: |
make build
working-directory: provider
- uses: fuller-inc/actions-aws-assume-role@f242de95e6f91240c4770502319cc68d4c61168c # v1.6.0
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::978218332026:role/github-app-token-github-actions-us-east-1
role-session-tagging: true
use-node-id: true
- name: deploy
run: |
make deploy
working-directory: provider
env:
APP_ENV: production