Skip to content

Commit

Permalink
refactor: Run CI only on PR and push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
mariux committed Mar 7, 2021
1 parent 35063af commit de97729
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: CI/CD Pipeline

on: push
on:
push:
branches:
- master
pull_request:
branches:
- master

env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.MINEIROS_TESTING_AWS_SECRET_ACCESS_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.MINEIROS_TESTING_AWS_ACCESS_KEY_ID }}

jobs:
pre-commit:
Expand Down

0 comments on commit de97729

Please sign in to comment.