Skip to content

Commit

Permalink
add build yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
shyanukant committed Oct 4, 2023
1 parent db147cc commit bde139d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 51 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.txt → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ on:
- main

jobs:
deploy:
build:
runs-on: ubuntu-latest
environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}


steps:
- name: Checkout Repository
Expand All @@ -22,11 +20,11 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

# - name: Build and push Docker image
# run: |
# # Adjust the Dockerfile path as needed (e.g., ./squib/Dockerfile)
# docker build -t ${{ secrets.DOCKER_USERNAME }}/squib .
# docker push ${{ secrets.DOCKER_USERNAME }}/squib
- name: Build and push Docker image
run: |
# Adjust the Dockerfile path as needed (e.g., ./squib/Dockerfile)
docker build -t ${{ secrets.DOCKER_USERNAME }}/squib .
docker push ${{ secrets.DOCKER_USERNAME }}/squib
# - name: 'Deploy to Azure Web App'
# uses: azure/webapps-deploy@v2
Expand Down

This file was deleted.

0 comments on commit bde139d

Please sign in to comment.