Skip to content

fix: migration issues #5

fix: migration issues

fix: migration issues #5

Workflow file for this run

name: Build Go app and push to Azure (Development)
on:
push:
branches: [ main ]
jobs:
build:
runs-on: windows-latest
steps:

Check failure on line 11 in .github/workflows/azure_dev.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure_dev.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Set up Env
run: echo "${{ secrets.ENV_DEVELOPMENT }}" > build/.env
- name: Copy migration files
run: xcopy /i migrations build\migrations
- name: Build
run: go build -o build/go-app.exe -v
- name: Deploy to Azure
uses: Azure/webapps-deploy@v2
with:
# Name of the Azure Web App
app-name: tedxits-dev
# Applies to Web App only: Path to package or folder. *.zip, *.war, *.jar or a folder to deploy
package: build/
publish-profile: ${{ secrets.AZUREWEBAPPPUBLISHPROFILE_DEVELOPMENT }}