sqlx_migrator 0.18.0

Migrator for writing sqlx migration using Rust instead of SQL
Documentation
name: Deploy github pages

on:
  push:
    branches:
      - master

permissions:
  contents: write

jobs:
  deploy_page:
    name: Deploy Github page
    runs-on: ubuntu-latest
    env:
      MAKE_FEATURES_FLAG: "--all-features"
    steps:
      - uses: actions/checkout@v4
      - name: Setup rust toolchain
        uses: dtolnay/rust-toolchain@nightly
      - name: Install cargo make
        uses: davidB/rust-cargo-make@v1
      - name: Create env file
        uses: iamsauravsharma/create-dotenv@v3.0.0
        with:
          input-prefix: "MAKE_"
      - name: Generate documentation
        run: |
          cargo make --env-file=.env rustdoc
      - name: Generate index page
        run: |
          echo "<meta http-equiv=refresh content=0;url=sqlx_migrator/index.html>" > target/doc/index.html
      - name: Deploy GitHub Page
        uses: JamesIves/github-pages-deploy-action@v4
        with:
          folder: target/doc