Skip to content

deploy while running #12

deploy while running

deploy while running #12

Workflow file for this run

name: Build app and push to Azure
on:
push:
branches:
- main
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23'
- name: Build
run: go build -o build/open-gallery-backend.exe -v
- name: Zip files for deployment
run: |
zip -r deploy.zip build/*
- name: Deploy to Azure
uses: Azure/webapps-deploy@v2
with:
app-name: open-gallery-app-service
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: deploy.zip
enable-oryx-build: true