Skip to content

Commit

Permalink
ci: updated deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
ekaputra07 committed Mar 15, 2023
1 parent 0bb4c2e commit 7090f37
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,9 @@ permissions:
contents: read

jobs:
test:
name: Test
runs-on: ubuntu-20.04
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v3
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: "1.14.0"
otp-version: "25.0.2"
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test

deploy:
name: Deploy
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v3
- run: echo "$FLY_TOML" > fly.toml
Expand Down

0 comments on commit 7090f37

Please sign in to comment.