From 2954f4848d52a42ec76be40bd99513630ca3295e Mon Sep 17 00:00:00 2001 From: Sphericalkat Date: Sun, 28 May 2023 23:08:19 +0530 Subject: [PATCH] feat(deploy): add workflow to deploy to fly.io on push Signed-off-by: Sphericalkat --- .github/workflows/deploy.yml | 12 ++++++++++++ .gitignore | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..a7b9cd4 --- /dev/null +++ b/.github/workflows/deploy.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@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only \ No newline at end of file diff --git a/.gitignore b/.gitignore index 0e2c6af..3ab967b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env node_modules -frontend/dist \ No newline at end of file +frontend/dist +.vscode \ No newline at end of file