Skip to content

feat: peers command #144

feat: peers command

feat: peers command #144

Workflow file for this run

name: Remove
on:
pull_request:
branches:
- main
types:
- closed
permissions:
id-token: write
pull-requests: write
contents: write
jobs:
publish_docs:
name: Remove old script
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Authenticate to Google Cloud
id: gcpauth
uses: google-github-actions/auth@v1
with:
create_credentials_file: "true"
workload_identity_provider: "projects/311968610280/locations/global/workloadIdentityPools/github/providers/github"
service_account: "[email protected]"
- name: Copy files
run: |-
gcloud auth login --brief --cred-file="${{ steps.gcpauth.outputs.credentials_file_path }}"
if gsutil -m ls "gs://lks-lz-binaries-euw4/${{ github.event.number }}/*"
then
echo "Deleting PR ${{ github.event.number }} release files"
if ! gsutil -m rm -r -f "gs://lks-lz-binaries-euw4/${{ github.event.number }}/*"
then
echo "There was an error while deleting the files, but it's ok, we have a large bucket!"
fi
fi