Skip to content

Commit

Permalink
fix: build script to deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolorentedev committed Jan 9, 2025
1 parent 116e518 commit 94cb599
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ jobs:
run: |
touch .env
echo "${{secrets.ENV_FILE}}" >> .env
- run: ls -la
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
- name: Login to Github Docker Registry
uses: docker/login-action@v3
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: ${{ env.REGISTRY }}
repository: ${{ env.REPOSITORY }}
tag_with_ref: true
- name: Push to GitHub Packages
uses: docker/build-push-action@v6
deploy:
needs: [push_to_registry]
name: Deploy to DigitalOcean
Expand Down

0 comments on commit 94cb599

Please sign in to comment.