Skip to content

Commit

Permalink
updated deployment.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
helloukey committed Apr 11, 2024
1 parent 2c76ae4 commit 35c9707
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test and Deploy
name: Deployment
on:
push:
branches:
Expand All @@ -7,7 +7,7 @@ on:
branches:
- main
jobs:
build:
upload:
runs-on: ubuntu-latest
steps:
- name: Get Code
Expand All @@ -17,7 +17,7 @@ jobs:
with:
path: .
deploy:
needs: build
needs: upload
# Only deploy for the main branch
if: github.ref == 'refs/heads/main'
permissions:
Expand Down

0 comments on commit 35c9707

Please sign in to comment.