Skip to content

Commit

Permalink
temporarily disable the Review Apps Script ref: #407
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Aug 15, 2023
1 parent 76ba302 commit c39d6fb
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 36 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,40 +61,40 @@ jobs:



# DEPLOY THE REVIEW APP
# This will deploy an app to fly.io with the name 'mvp-pr-$PR_NUMBER' (check `review-apps.sh` script).
review_app:

# Only run when it's not a dependabot PR
if: github.event.pull_request.user.login != 'dependabot[bot]'

name: Review App Job
runs-on: ubuntu-latest
# needs: [build]
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install flyctl
uses: superfly/flyctl-actions/setup-flyctl@master

- 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 }}
APP_NAME: ${{ format('mvp-pr-{0}', github.event.number) }}
EVENT_ACTION: ${{ github.event.action }}
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
FLY_ORG: dwyl-mvp
FLY_REGION: lhr
FLY_POSTGRES_NAME: mvp-db
# # DEPLOY THE REVIEW APP
# # This will deploy an app to fly.io with the name 'mvp-pr-$PR_NUMBER' (check `review-apps.sh` script).
# review_app:

# # Only run when it's not a dependabot PR
# if: github.event.pull_request.user.login != 'dependabot[bot]'

# name: Review App Job
# runs-on: ubuntu-latest
# # needs: [build]
# steps:
# - name: Checkout repository
# uses: actions/checkout@v3

# - name: Install flyctl
# uses: superfly/flyctl-actions/setup-flyctl@master

# - 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 }}
# APP_NAME: ${{ format('mvp-pr-{0}', github.event.number) }}
# EVENT_ACTION: ${{ github.event.action }}
# FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
# FLY_ORG: dwyl-mvp
# FLY_REGION: lhr
# FLY_POSTGRES_NAME: mvp-db


# API DEFINITION TESTING - https://docs.hoppscotch.io/cli
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ defmodule App.MixProject do

# Useful functions: github.com/dwyl/useful
{:useful, "~> 1.12.1", override: true},

# See: github.com/dwyl/useful/issues/17
{:atomic_map, "~> 0.9.3"},

Expand Down
2 changes: 1 addition & 1 deletion mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"postgrex": {:hex, :postgrex, "0.17.2", "a3ec9e3239d9b33f1e5841565c4eb200055c52cc0757a22b63ca2d529bbe764c", [:mix], [{:db_connection, "~> 2.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.5 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: true]}, {:table, "~> 0.1.0", [hex: :table, repo: "hexpm", optional: true]}], "hexpm", "80a918a9e9531d39f7bd70621422f3ebc93c01618c645f2d91306f50041ed90c"},
"pre_commit": {:hex, :pre_commit, "0.3.4", "e2850f80be8090d50ad8019ef2426039307ff5dfbe70c736ad0d4d401facf304", [:mix], [], "hexpm", "16f684ba4f1fed1cba6b19e082b0f8d696e6f1c679285fedf442296617ba5f4e"},
"ranch": {:hex, :ranch, "1.8.0", "8c7a100a139fd57f17327b6413e4167ac559fbc04ca7448e9be9057311597a1d", [:make, :rebar3], [], "hexpm", "49fbcfd3682fab1f5d109351b61257676da1a2fdbe295904176d5e521a2ddfe5"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.6", "cf344f5692c82d2cd7554f5ec8fd961548d4fd09e7d22f5b62482e5aeaebd4b0", [:make, :mix, :rebar3], [], "hexpm", "bdb0d2471f453c88ff3908e7686f86f9be327d065cc1ec16fa4540197ea04680"},
"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.7", "354c321cf377240c7b8716899e182ce4890c5938111a1296add3ec74cf1715df", [:make, :mix, :rebar3], [], "hexpm", "fe4c190e8f37401d30167c8c405eda19469f34577987c76dde613e838bbc67f8"},
"statuses": {:hex, :statuses, "1.1.1", "bb52e1d7d3d16624c592a8a7712ddd03ea19f11cf8df54d8604c20d220b358e9", [:mix], [], "hexpm", "9dbc3839547401153dce11b8ab1bc406339e18d4c67eb0449c38749e26ba2e27"},
"tailwind": {:hex, :tailwind, "0.2.1", "83d8eadbe71a8e8f67861fe7f8d51658ecfb258387123afe4d9dc194eddc36b0", [:mix], [{:castore, ">= 0.0.0", [hex: :castore, repo: "hexpm", optional: false]}], "hexpm", "e8a13f6107c95f73e58ed1b4221744e1eb5a093cd1da244432067e19c8c9a277"},
"telemetry": {:hex, :telemetry, "1.2.1", "68fdfe8d8f05a8428483a97d7aab2f268aaff24b49e0f599faa091f1d4e7f61c", [:rebar3], [], "hexpm", "dad9ce9d8effc621708f99eac538ef1cbe05d6a874dd741de2e689c47feafed5"},
Expand Down

0 comments on commit c39d6fb

Please sign in to comment.