Skip to content

Commit

Permalink
Merge pull request #79 from UffizziCloud/v3
Browse files Browse the repository at this point in the history
Change uffizzi/cli
  • Loading branch information
moklidia authored Jul 5, 2023
2 parents bafe9cc + 1732170 commit aa0f30a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ jobs:
# Look for an existing Preview Deployment.
- name: Find Deployment for this Pull Request
id: find-deployment
uses: docker://uffizzi/cli:v1
uses: docker://uffizzi/cli:v2
with:
entrypoint: bash
args: -c "/root/docker-entrypoint.sh && echo DEPLOYMENT_ID=$(/usr/local/bundle/bin/uffizzi preview list --filter \"github.repository=${{ github.repository }} github.event.number=$PR_NUMBER\") >> $GITHUB_ENV"
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
- name: Deploy New Preview
id: create-preview
if: ${{ env.UFFIZZI_ACTION == 'create' }}
uses: UffizziCloud/preview-action@v2
uses: UffizziCloud/preview-action@v3
with:
compose-file: ${{ inputs.compose-file-cache-path }}
username: ${{ inputs.username }}
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
logger-key: ${{ env.LOGGER_KEY }}

- name: Update Existing Preview
uses: UffizziCloud/update-preview-action@v1
uses: UffizziCloud/update-preview-action@v2
id: update-preview
if: ${{ env.UFFIZZI_ACTION == 'update' }}
with:
Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
- name: Delete Preview from Uffizzi
if: ${{ env.UFFIZZI_ACTION == 'delete' }}
uses: UffizziCloud/delete-preview-action@v1
uses: UffizziCloud/delete-preview-action@v2
with:
id: ${{ env.DEPLOYMENT_ID }}
username: ${{ inputs.username }}
Expand Down
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ outputs:
description: 'Expiration as a UNIX timestamp'
runs:
using: 'docker'
image: 'docker://uffizzi/cli:v1'
image: 'docker://uffizzi/cli:v2'
args:
- 'preview'
- 'create'
Expand Down

0 comments on commit aa0f30a

Please sign in to comment.