Skip to content

Merge pull request #303 from systemaccounting/302-provided2-runtime #25

Merge pull request #303 from systemaccounting/302-provided2-runtime

Merge pull request #303 from systemaccounting/302-provided2-runtime #25

Workflow file for this run

name: prod-graphql
on:
push:
paths:
- 'services/graphql/**'
branches:
- 'master'
jobs:
test:
name: graphql
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: us-east-1
CI: true
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19.x'
- name: compile
run: make compile
working-directory: services/graphql
- name: zip
run: make zip
working-directory: services/graphql
- name: deploy to prod
run: ENV_ID=${{ secrets.PROD_ENV_ID }} make deploy-only ENV=prod
working-directory: services/graphql