From 7bed74e98d1cf469affa78341752fd37a3c297ac Mon Sep 17 00:00:00 2001 From: iritmaximus Date: Fri, 20 Jan 2023 15:35:29 +0200 Subject: [PATCH] added ci/cd to project with gh/actions --- .github/workflows/deploy.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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..221c02d --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +name: Deploy to fly.io +on: + push: + branches: + - main + +env: + FLY_API_TOKEN: ${{ sectets.FLY_API_TOKEN }} + +jobs: + deploy: + name: Deploy app + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: superfly/flyctl-actions/setup-flyctl@master + - run: flyctl deploy --remote-only