-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (31 loc) · 1.04 KB
/
review-apps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# name: Review App
# on:
# pull_request:
# types: [opened, reopened, synchronize, closed]
# env:
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# jobs:
# review_app:
# if: github.event.pull_request.user.login != 'dependabot[bot]'
# name: Review App Job
# runs-on: ubuntu-latest
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3
# - name: Install flyctl
# run: curl -L https://fly.io/install.sh | FLYCTL_INSTALL=/usr/local sh
# - name: Set up Elixir
# uses: erlef/setup-beam@v1
# with:
# otp-version: 24.3.4
# elixir-version: 1.14.1
# - name: Run Review App Script
# run: ./.github/scripts/review-apps.sh
# env:
# ENCRYPTION_KEYS: ${{ secrets. ENCRYPTION_KEYS }}
# AUTH_API_KEY: ${{ secrets.FLY_AUTH_API_KEY }}
# PR_NUMBER: ${{ github.event.number}}
# EVENT_ACTION: ${{ github.event.action }}
# FLY_ORG: dwyl-mvp
# FLY_REGION: lhr
# FLY_POSTGRES_NAME: mvp-db