Skip to content

Merge pull request #651 from shogo82148/dependabot/npm_and_yarn/actio… #482

Merge pull request #651 from shogo82148/dependabot/npm_and_yarn/actio…

Merge pull request #651 from shogo82148/dependabot/npm_and_yarn/actio… #482

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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.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@a9b5106401b015d01aa363d710727c7d07ae0fbe # v1.7.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