Skip to content

Commit

Permalink
fix: workflow minor
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharbansal22 committed Apr 1, 2024
1 parent 1288414 commit 4ffc397
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/testy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update docker dev image
name: testy

on:
push:
Expand All @@ -10,11 +10,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm install

- name: Create .env.development file
env:
Expand All @@ -40,14 +35,3 @@ jobs:
echo "TWILIO_AUTH_TOKEN=$TWILIO_AUTH_TOKEN" >> .env.development
echo "TWILIO_SERVICE_SID=$TWILIO_SERVICE_SID" >> .env.development
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}

- name: Build Docker image
run: docker build -t ${{ secrets.DOCKER_USERNAME }}/swifty-order-service .

- name: Push Docker image
run: docker push ${{ secrets.DOCKER_USERNAME }}/swifty-order-service

0 comments on commit 4ffc397

Please sign in to comment.