Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
botprzemek authored May 6, 2024
1 parent 7e3a07b commit d51fa58
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ jobs:
uses: docker/build-push-action@v5
with:
push: true
context: .
context: ./app
file: ./app/Dockerfile
platforms: linux/amd64,linux/arm64
tags: "ghcr.io/${{ github.repository }}:latest"
labels: ${{ steps.meta.outputs.labels }}
build-args: |
"NUXT_APP_URL=${{ secrets.APP_URL }}"
"NUXT_MAIL_URL=${{ secrets.MAIL_URL }}"
deploy:
name: Deploy Docker to a Linux instance
Expand All @@ -64,4 +65,4 @@ jobs:
password: ${{ secrets.SERVER_PASSWORD }}
port: ${{ secrets.SERVER_PORT }}
key: ${{ secrets.SERVER_KEY }}
script: ${{ vars.SCRIPT }} ${{ github.repository }} ${{ secrets.APP_NAME }} ${{ secrets.APP_PORT }}
script: ${{ vars.SCRIPT }} ${{ github.repository }} ${{ secrets.APP_NAME }} ${{ secrets.APP_PORT }}

0 comments on commit d51fa58

Please sign in to comment.