Skip to content

creative.link の取得をIFNULLに修正 #58

creative.link の取得をIFNULLに修正

creative.link の取得をIFNULLに修正 #58

Workflow file for this run

name: touchgift-job-manager
on:
pull_request:
branches:
- 'feature/**'
- 'issue/**'
- 'beta/**'
- 'PB/**'
paths:
- manager/**
push:
branches:
- 'feature/**'
- 'beta/**'
paths:
- manager/**
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
component:
- manager
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS Credentials (CodeBuild)
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.CODEBUILD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.CODEBUILD_AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-1
role-to-assume: arn:aws:iam::411776208124:role/touchgift-job.codebuild.execution
role-duration-seconds: 1200
- name: Run Build
run: |
aws codebuild start-build \
--project-name touchgift-job \
--source-version ${SOURCE_VERSION} \
--buildspec-override ${{ matrix.component }}/buildspecs/staging.yml \
--environment-variables-override \
name=GITHUB_EVENT_NAME,value=${{ github.event_name }},type=PLAINTEXT \
name=GITHUB_SHA,value=${{ github.sha }},type=PLAINTEXT \
name=GITHUB_REF,value=${{ github.ref }},type=PLAINTEXT \
name=GITHUB_RUN_ID,value=${{ github.run_id }},type=PLAINTEXT \
name=WORKING_DIR,value=${{ matrix.component }},type=PLAINTEXT \
--report-build-status-override
env:
SOURCE_VERSION: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}