docs #111
Workflow file for this run
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: dev-graphql | |
on: | |
push: | |
paths: | |
- 'services/graphql/**' | |
branches-ignore: | |
- '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 dev | |
run: ENV_ID=${{ secrets.DEV_ENV_ID }} make deploy-only ENV=dev | |
working-directory: services/graphql |