Revise readme #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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: Deploy to Azure | |
| uses: Azure/webapps-deploy@v2 | |
| with: | |
| app-name: open-gallery-app-service | |
| package: build/ | |
| publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} |