From b76d005a22520c6c9f998f1981a5c253d347f366 Mon Sep 17 00:00:00 2001 From: Amogh Lele Date: Mon, 23 May 2022 09:04:50 +0530 Subject: [PATCH] ci(actions): set up automated deploys using github actions Signed-off-by: Amogh Lele --- .github/workflows/fly.yml | 12 ++++++++++++ lib/ketbin_web/templates/layout/app.html.heex | 1 - 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/fly.yml diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml new file mode 100644 index 0000000..e28f721 --- /dev/null +++ b/.github/workflows/fly.yml @@ -0,0 +1,12 @@ +name: Fly Deploy +on: [push] +env: + FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} +jobs: + deploy: + name: Deploy to fly.io + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only \ No newline at end of file diff --git a/lib/ketbin_web/templates/layout/app.html.heex b/lib/ketbin_web/templates/layout/app.html.heex index c86e32a..628f98e 100644 --- a/lib/ketbin_web/templates/layout/app.html.heex +++ b/lib/ketbin_web/templates/layout/app.html.heex @@ -25,7 +25,6 @@ -