Skip to content

Merge branch 'master' of https://github.com/MaxMLang/RAG-nificent #1

Merge branch 'master' of https://github.com/MaxMLang/RAG-nificent

Merge branch 'master' of https://github.com/MaxMLang/RAG-nificent #1

Workflow file for this run

name: Deploy to Fly.io
on:
push:
branches: [ main, master ]
workflow_dispatch:
jobs:
deploy:
name: Deploy app
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create GitHub Deployment
id: deployment
uses: chrnorm/deployment-action@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
environment: production
description: 'Deployment to Fly.io'
- name: Setup Flyctl
uses: superfly/flyctl-actions/setup-flyctl@master
- name: Deploy to Fly.io
run: flyctl deploy --remote-only
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
- name: Update Deployment Status (Success)
if: success()
uses: chrnorm/deployment-status@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: "success"
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
- name: Update Deployment Status (Failure)
if: failure()
uses: chrnorm/deployment-status@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
state: "failure"
deployment-id: ${{ steps.deployment.outputs.deployment_id }}