Skip to content

refactor(components): DLT-3100 remove rootClass references #1191

refactor(components): DLT-3100 remove rootClass references

refactor(components): DLT-3100 remove rootClass references #1191

Workflow file for this run

name: Clean Preview
on:
pull_request_target:
types: [closed]
jobs:
clean:
runs-on: ubuntu-latest
permissions:
contents: 'read'
id-token: 'write'
env:
DIALTONE_BUCKET_DIRECTORY: dialtone.dialpad.com/deploy-previews/pr-${{ github.event.pull_request.number }}/
DIALTONE_VUE_3_BUCKET_DIRECTORY: dialtone.dialpad.com/vue/deploy-previews/pr-${{ github.event.pull_request.number }}/
steps:
- uses: actions/checkout@v4
- id: auth
name: Authenticate to Google Cloud
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.DIALTONE_GCP_WIP }}
service_account: ${{ secrets.DIALTONE_GCP_SA }}
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
- name: Clean up dialtone preview
continue-on-error: true
run: |
gcloud storage rm --recursive ${{ format('gs://{0}', env.DIALTONE_BUCKET_DIRECTORY) }}
- name: Clean up dialtone-vue preview
continue-on-error: true
run: |
gcloud storage rm --recursive ${{ format('gs://{0}', env.DIALTONE_VUE_3_BUCKET_DIRECTORY) }}