From aec2220e388bf35657e88fa58ae6b5e40e2fd43d Mon Sep 17 00:00:00 2001 From: Lendemor Date: Fri, 29 Nov 2024 18:32:32 +0100 Subject: [PATCH] add deploy workflow --- .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 000000000..48071777b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,17 @@ +on: + push: + branches: ['lendemor/use_deploy_action'] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Deploy + uses: reflex-dev/reflex-deploy-action@v0 + with: + auth_token: ${{ secrets.REFLEX_AUTH_TOKEN }} + project_id: ${{ secrets.PROJECT_ID }} + extra_args: "--vm-type=${{ vars.VM_TYPE }}" + python_version: 3.12 \ No newline at end of file