Skip to content

Commit

Permalink
remove files
Browse files Browse the repository at this point in the history
  • Loading branch information
andromaqui committed Jun 11, 2024
1 parent 5286348 commit fe5a6b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/preview-env-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: preview-env-deploy
on:
pull_request:
types: [labeled,synchronize]

jobs:
deploy-preview:
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
BUCKET_NAME: ${{ steps.secrets.outputs.TEMP_BUCKET }}
run: |
gcloud config set pass_credentials_to_gsutil true
gsutil -m cp -R . gs://$BUCKET_NAME/pr-${{ github.event.number }}/
gsutil -m cp -R build/* gs://$BUCKET_NAME/pr-${{ github.event.number }}/
- name: Create comment
uses: peter-evans/create-or-update-comment@v4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/preview-env-teardown.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: preview-env-deploy
on:
pull_request:
types: [labeled,synchronize]

jobs:
deploy-preview:
if: github.event.pull_request.state != 'closed' && (contains( github.event.label.name, 'deploy') || contains( github.event.pull_request.labels.*.name, 'deploy'))
#if: github.event.pull_request.state != 'closed' && (contains( github.event.label.name, 'deploy') || contains( github.event.pull_request.labels.*.name, 'deploy'))
runs-on: ubuntu-22.04
timeout-minutes: 20
name: deploy-preview-env-${{ matrix.product_context }}
Expand Down

0 comments on commit fe5a6b1

Please sign in to comment.