Skip to content

Commit

Permalink
Penggunaam emvionment GH Action (I)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanesPao committed Nov 3, 2023
1 parent 6b70b49 commit 5f6d9fd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
jobs:
build-ui-surreal-ocean:
runs-on: ubuntu-latest
environment: docker_image_deployment
steps:
- name: Checkout repositori GitHub
uses: actions/checkout@v4
Expand All @@ -35,6 +36,13 @@ jobs:
uses: docker/build-push-action@v5
with:
context: ./ui
build-args: |
VITE_NAMA_SITUS=${{vars.VITE_NAMA_SITUS}}
secrets: |
VITE_DEV_API=${{secrets.VITE_DEV_API}}
VITE_PROD_API=${{secrets.VITE_PROD_API}}
VITE_GH_USER=${{secrets.VITE_GH_USER}}
VITE_GH_TOKEN=${{secrets.VITE_GH_TOKEN}}
push: true
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}

0 comments on commit 5f6d9fd

Please sign in to comment.