Skip to content

Releases: Azure/mysql

v1.3.0

05 Aug 19:00
d27d971
Compare
Choose a tag to compare

Fix firewall rule issue

GitHub Action for Azure MySQL

22 Sep 06:04
d27d971
Compare
Choose a tag to compare

Azure MySQL Action for GitHub enables you to automate your action workflow to deploy updates to Azure Database for MySQL server.

The action uses Connection String for authentication and SQL scripts to deploy to your MySQL database.

Sample workflow to deploy to an Azure database for MySQL server

# .github/workflows/mysql-deploy.yml
on: [push]

jobs:
  build:
    runs-on: windows-latest
    steps:
    - uses: actions/checkout@v1
    - uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_CREDENTIALS }}
    - uses: azure/mysql@v1
      with:
        server-name: REPLACE_THIS_WITH_YOUR_MYSQL_SERVER_NAME
        connection-string: ${{ secrets.AZURE_MYSQL_CONNECTION_STRING }}
        sql-file: './sqlFile.sql'

Released under MIT License