From 6f918a18184cc47c52ae1bd465c4e3fa39aa1543 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 9 Oct 2024 12:36:21 -0500 Subject: [PATCH 01/16] wip --- README.md | 26 ++++++++++++++++++++++++++ action.yml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 action.yml diff --git a/README.md b/README.md index 832ac91..48e1096 100644 --- a/README.md +++ b/README.md @@ -1 +1,27 @@ # salmon-sync + +This is a Github Action that syncs a folder to a Google Cloud bucket using `rclone`. + +``` +inputs: + source: + required: true + type: string + description: 'The source directory to sync.' + destination: + required: true + type: string + description: 'The destination directory to sync. Relative to the bucket.' + project_number: + required: true + type: string + description: 'The Google Cloud project number.' + bucket: + required: true + type: string + description: 'The Google Cloud bucket to sync to.' + credentials: + required: true + type: string + description: 'The Google Cloud credentials.' +``` \ No newline at end of file diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..3e69538 --- /dev/null +++ b/action.yml @@ -0,0 +1,52 @@ +name: Sync Salmon Directory +description: Syncs a directory to a Google Cloud bucket using rclone. +author: 'deephaven' +inputs: + source: + required: true + type: string + description: 'The source directory to sync.' + destination: + required: true + type: string + description: 'The destination directory to sync. Relative to the bucket.' + project_number: + required: true + type: string + description: 'The Google Cloud project number.' + bucket: + required: true + type: string + description: 'The Google Cloud bucket to sync to.' + credentials: + required: true + type: string + description: 'The Google Cloud credentials.' + +runs: + using: "composite" + steps: + - name: Setup rclone + shell: bash + run: | + sudo apt-get update + sudo apt-get install -y rclone=1.53.3-4ubuntu1.22.04.2 + + mkdir -p $HOME/.config + mkdir -p $HOME/.config/rclone + + cat << EOF > $HOME/.config/rclone/rclone.conf + [docs] + type = google cloud storage + service_account_file = $HOME/credentials.json + project_number = ${{ inputs.project_number }} + bucket_policy_only = true + EOF + + ls -la . + + echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json + + - name: Sync blog + shell: bash + run: rclone sync ${{ inputs.source }} docs:${{ inputs.bucket }}/${{ inputs.destination }} \ No newline at end of file From 07e749452c2d0f6e7c279a652d1d420094fc4231 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 9 Oct 2024 12:43:35 -0500 Subject: [PATCH 02/16] wip --- action.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/action.yml b/action.yml index 3e69538..1ebf334 100644 --- a/action.yml +++ b/action.yml @@ -42,8 +42,6 @@ runs: project_number = ${{ inputs.project_number }} bucket_policy_only = true EOF - - ls -la . echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json From f599b85ac1ee979caee325d3f97efabecf2c7609 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 16 Oct 2024 14:35:54 -0500 Subject: [PATCH 03/16] wip --- README.md | 9 +-------- action.yml | 16 +++++----------- 2 files changed, 6 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 48e1096..e8bd6f9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # salmon-sync This is a Github Action that syncs a folder to a Google Cloud bucket using `rclone`. +This action is only meant to work for Deephaven's documentation needs and is not general purpose. ``` inputs: @@ -12,14 +13,6 @@ inputs: required: true type: string description: 'The destination directory to sync. Relative to the bucket.' - project_number: - required: true - type: string - description: 'The Google Cloud project number.' - bucket: - required: true - type: string - description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string diff --git a/action.yml b/action.yml index 1ebf334..2e501fa 100644 --- a/action.yml +++ b/action.yml @@ -10,14 +10,6 @@ inputs: required: true type: string description: 'The destination directory to sync. Relative to the bucket.' - project_number: - required: true - type: string - description: 'The Google Cloud project number.' - bucket: - required: true - type: string - description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string @@ -25,6 +17,8 @@ inputs: runs: using: "composite" + # this action only runs if the input credentials match the secret + if: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} steps: - name: Setup rclone shell: bash @@ -39,12 +33,12 @@ runs: [docs] type = google cloud storage service_account_file = $HOME/credentials.json - project_number = ${{ inputs.project_number }} + project_number = ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} bucket_policy_only = true EOF echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json - - name: Sync blog + - name: Sync source to destination shell: bash - run: rclone sync ${{ inputs.source }} docs:${{ inputs.bucket }}/${{ inputs.destination }} \ No newline at end of file + run: rclone sync ${{ inputs.source }} docs:${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file From 88242c6370b89a14aea3f2edc815b5335bf7d4f3 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 16 Oct 2024 16:16:26 -0500 Subject: [PATCH 04/16] wip --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 2e501fa..2a42343 100644 --- a/action.yml +++ b/action.yml @@ -17,8 +17,10 @@ inputs: runs: using: "composite" + env: + DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} # this action only runs if the input credentials match the secret - if: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} + if: ${{ $DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} steps: - name: Setup rclone shell: bash From 5d192e063dac77c4a82ffe24ee810030f8ed9f6c Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 16 Oct 2024 16:32:13 -0500 Subject: [PATCH 05/16] wip --- action.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 2a42343..0a1b5aa 100644 --- a/action.yml +++ b/action.yml @@ -17,12 +17,9 @@ inputs: runs: using: "composite" - env: - DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} - # this action only runs if the input credentials match the secret - if: ${{ $DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} steps: - name: Setup rclone + if: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} shell: bash run: | sudo apt-get update @@ -42,5 +39,6 @@ runs: echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json - name: Sync source to destination + needs: Setup rclone shell: bash run: rclone sync ${{ inputs.source }} docs:${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file From c8df4e99ef570626442a2bae907e7fc07ac76aa8 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 16 Oct 2024 16:46:19 -0500 Subject: [PATCH 06/16] wip --- action.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 0a1b5aa..3daa926 100644 --- a/action.yml +++ b/action.yml @@ -17,9 +17,14 @@ inputs: runs: using: "composite" + env: + DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} + DOCS_GOOGLE_CLOUD_PROJECT_NUMBER: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} + DOCS_GOOGLE_CLOUD_BUCKET: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} steps: - name: Setup rclone - if: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} + id: setup-rclone + if: ${{ $DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} shell: bash run: | sudo apt-get update @@ -32,13 +37,13 @@ runs: [docs] type = google cloud storage service_account_file = $HOME/credentials.json - project_number = ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} + project_number = $DOCS_GOOGLE_CLOUD_PROJECT_NUMBER bucket_policy_only = true EOF echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json - name: Sync source to destination - needs: Setup rclone + needs: setup-rclone shell: bash - run: rclone sync ${{ inputs.source }} docs:${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file + run: rclone sync ${{ inputs.source }} docs:$DOCS_GOOGLE_CLOUD_BUCKET/${{ inputs.destination }} \ No newline at end of file From 4900983c205681247c382d5cb282b7a4c41e9db0 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 16 Oct 2024 16:55:00 -0500 Subject: [PATCH 07/16] wip --- action.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/action.yml b/action.yml index 3daa926..93b73b7 100644 --- a/action.yml +++ b/action.yml @@ -15,12 +15,13 @@ inputs: type: string description: 'The Google Cloud credentials.' +env: + DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} + DOCS_GOOGLE_CLOUD_PROJECT_NUMBER: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} + DOCS_GOOGLE_CLOUD_BUCKET: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} + runs: using: "composite" - env: - DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} - DOCS_GOOGLE_CLOUD_PROJECT_NUMBER: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} - DOCS_GOOGLE_CLOUD_BUCKET: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} steps: - name: Setup rclone id: setup-rclone From 3ebd26ae372989564c305c081d2860944dd80c49 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Thu, 17 Oct 2024 12:17:43 -0500 Subject: [PATCH 08/16] wip --- README.md | 27 +++++++++++++++++++++++++-- action.yml | 20 ++++++++++---------- 2 files changed, 35 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index e8bd6f9..0573f33 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ # salmon-sync This is a Github Action that syncs a folder to a Google Cloud bucket using `rclone`. -This action is only meant to work for Deephaven's documentation needs and is not general purpose. +This action is only meant to work for Deephaven's documentation needs and is not intended to be general purpose. +## Parameters ``` inputs: source: @@ -13,8 +14,30 @@ inputs: required: true type: string description: 'The destination directory to sync. Relative to the bucket.' + project_number: + required: true + type: string + description: 'The Google Cloud project number.' + bucket: + required: true + type: string + description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string description: 'The Google Cloud credentials.' -``` \ No newline at end of file +``` + +## Example +The action can be used as a step in a workflow +Here is an example that syncs from the local path `temp/blog` to the blog section of the bucket. +``` +- name: Sync to the blog + uses: jnumainville/salmon-sync@v1 + with: + source: temp/blog + destination: deephaven/deephaven.io/blog + project_number: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER}} + bucket: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} + credentials: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} +``` diff --git a/action.yml b/action.yml index 93b73b7..a6e0125 100644 --- a/action.yml +++ b/action.yml @@ -10,22 +10,23 @@ inputs: required: true type: string description: 'The destination directory to sync. Relative to the bucket.' + project_number: + required: true + type: string + description: 'The Google Cloud project number.' + bucket: + required: true + type: string + description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string description: 'The Google Cloud credentials.' -env: - DOCS_GOOGLE_CLOUD_CREDENTIALS: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} - DOCS_GOOGLE_CLOUD_PROJECT_NUMBER: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER }} - DOCS_GOOGLE_CLOUD_BUCKET: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} - runs: using: "composite" steps: - name: Setup rclone - id: setup-rclone - if: ${{ $DOCS_GOOGLE_CLOUD_CREDENTIALS == inputs.credentials }} shell: bash run: | sudo apt-get update @@ -38,13 +39,12 @@ runs: [docs] type = google cloud storage service_account_file = $HOME/credentials.json - project_number = $DOCS_GOOGLE_CLOUD_PROJECT_NUMBER + project_number = ${{ inputs.project_number }} bucket_policy_only = true EOF echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json - name: Sync source to destination - needs: setup-rclone shell: bash - run: rclone sync ${{ inputs.source }} docs:$DOCS_GOOGLE_CLOUD_BUCKET/${{ inputs.destination }} \ No newline at end of file + run: rclone sync ${{ inputs.source }} docs:${{ inputs.bucket }}/${{ inputs.destination }} \ No newline at end of file From aa833198ec02d15c90211f8925c288aea2f70357 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Tue, 22 Oct 2024 12:58:05 -0500 Subject: [PATCH 09/16] wip --- action.yml | 35 +++++++++++++++-------------------- 1 file changed, 15 insertions(+), 20 deletions(-) diff --git a/action.yml b/action.yml index a6e0125..c5b3e15 100644 --- a/action.yml +++ b/action.yml @@ -14,10 +14,6 @@ inputs: required: true type: string description: 'The Google Cloud project number.' - bucket: - required: true - type: string - description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string @@ -27,24 +23,23 @@ runs: using: "composite" steps: - name: Setup rclone + uses: AnimMouse/setup-rclone@v1 + with: + rclone-version: v1.68.1 + + - name: Decode credentials shell: bash run: | - sudo apt-get update - sudo apt-get install -y rclone=1.53.3-4ubuntu1.22.04.2 - - mkdir -p $HOME/.config - mkdir -p $HOME/.config/rclone - - cat << EOF > $HOME/.config/rclone/rclone.conf - [docs] - type = google cloud storage - service_account_file = $HOME/credentials.json - project_number = ${{ inputs.project_number }} - bucket_policy_only = true - EOF - - echo ${{ inputs.credentials }} | base64 -d > $HOME/credentials.json + echo $RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS_ENCODED | base64 -d > $HOME/credentials.json + env: + RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS_ENCODED: ${{ inputs.credentials }} + - name: Sync source to destination shell: bash - run: rclone sync ${{ inputs.source }} docs:${{ inputs.bucket }}/${{ inputs.destination }} \ No newline at end of file + env: + RCLONE_CONFIG_GCS_TYPE: "google cloud storage" + RCLONE_GCS_SERVICE_ACCOUNT_FILE: $HOME/credentials.json + RCLONE_GCS_PROJECT_NUMBER: ${{ inputs.project_number }} + RCLONE_GCS_BUCKET_POLICY_ONLY: "true" + run: rclone sync ${{ inputs.source }} docs:${{ vars.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file From 72cdbbb88ed9122549653fdc9faa60060e0361b1 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Tue, 22 Oct 2024 13:00:12 -0500 Subject: [PATCH 10/16] wip --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c5b3e15..81dd30d 100644 --- a/action.yml +++ b/action.yml @@ -42,4 +42,4 @@ runs: RCLONE_GCS_SERVICE_ACCOUNT_FILE: $HOME/credentials.json RCLONE_GCS_PROJECT_NUMBER: ${{ inputs.project_number }} RCLONE_GCS_BUCKET_POLICY_ONLY: "true" - run: rclone sync ${{ inputs.source }} docs:${{ vars.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file + run: rclone sync ${{ inputs.source }} gcs:${{ vars.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file From 7ec26fef511c2c6a387121ede032b274510f919b Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Tue, 22 Oct 2024 13:21:02 -0500 Subject: [PATCH 11/16] wip --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 81dd30d..f845d66 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,10 @@ inputs: required: true type: string description: 'The Google Cloud project number.' + bucket: + required: true + type: string + description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string @@ -42,4 +46,4 @@ runs: RCLONE_GCS_SERVICE_ACCOUNT_FILE: $HOME/credentials.json RCLONE_GCS_PROJECT_NUMBER: ${{ inputs.project_number }} RCLONE_GCS_BUCKET_POLICY_ONLY: "true" - run: rclone sync ${{ inputs.source }} gcs:${{ vars.DOCS_GOOGLE_CLOUD_BUCKET }}/${{ inputs.destination }} \ No newline at end of file + run: rclone sync ${{ inputs.source }} gcs:${{ inputs.bucket }}/${{ inputs.destination }} \ No newline at end of file From df251ede5c4b9aa4cdb4049994ad2c886bcc3608 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Tue, 22 Oct 2024 14:02:01 -0500 Subject: [PATCH 12/16] wip --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index f845d66..185c5f2 100644 --- a/action.yml +++ b/action.yml @@ -29,7 +29,7 @@ runs: - name: Setup rclone uses: AnimMouse/setup-rclone@v1 with: - rclone-version: v1.68.1 + version: v1.68.1 - name: Decode credentials shell: bash From d7b780794bc4689715532ffc61f2b3be29bc90f5 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Tue, 22 Oct 2024 14:24:02 -0500 Subject: [PATCH 13/16] wip --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0573f33..42cf7eb 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # salmon-sync This is a Github Action that syncs a folder to a Google Cloud bucket using `rclone`. -This action is only meant to work for Deephaven's documentation needs and is not intended to be general purpose. +This action is only meant to work for Deephaven's documentation. It could be used in a more general purpose way to sync a folder into any Google cloud bucket (with the proper credentials), but that is subject to change and may break in any version. ## Parameters ``` @@ -33,11 +33,11 @@ The action can be used as a step in a workflow Here is an example that syncs from the local path `temp/blog` to the blog section of the bucket. ``` - name: Sync to the blog - uses: jnumainville/salmon-sync@v1 + uses: deephaven/salmon-sync@v1 with: source: temp/blog destination: deephaven/deephaven.io/blog project_number: ${{ secrets.DOCS_GOOGLE_CLOUD_PROJECT_NUMBER}} - bucket: ${{ secrets.DOCS_GOOGLE_CLOUD_BUCKET }} + bucket: ${{ vars.DOCS_GOOGLE_CLOUD_BUCKET }} credentials: ${{ secrets.DOCS_GOOGLE_CLOUD_CREDENTIALS }} ``` From ab24e98f8fb673298b30a38ba3758a3b5bb5df8f Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Wed, 23 Oct 2024 16:04:01 -0500 Subject: [PATCH 14/16] wip --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 185c5f2..7612534 100644 --- a/action.yml +++ b/action.yml @@ -34,7 +34,7 @@ runs: - name: Decode credentials shell: bash run: | - echo $RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS_ENCODED | base64 -d > $HOME/credentials.json + echo $RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS_ENCODED | base64 --decode > $HOME/credentials.json env: RCLONE_GCS_SERVICE_ACCOUNT_CREDENTIALS_ENCODED: ${{ inputs.credentials }} From bf406e6550b218d98f60c65088493da50ec524bb Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 25 Oct 2024 10:13:49 -0500 Subject: [PATCH 15/16] wip --- README.md | 4 ++-- action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 42cf7eb..101bbc7 100644 --- a/README.md +++ b/README.md @@ -21,11 +21,11 @@ inputs: bucket: required: true type: string - description: 'The Google Cloud bucket to sync to.' + description: 'The Google Cloud bucket to sync to. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' credentials: required: true type: string - description: 'The Google Cloud credentials.' + description: 'The Google Cloud credentials. Should be base64 encoded.' ``` ## Example diff --git a/action.yml b/action.yml index 7612534..c906e4b 100644 --- a/action.yml +++ b/action.yml @@ -17,11 +17,11 @@ inputs: bucket: required: true type: string - description: 'The Google Cloud bucket to sync to.' + description: 'The Google Cloud bucket to sync to. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' credentials: required: true type: string - description: 'The Google Cloud credentials.' + description: 'The Google Cloud credentials. Should be base64 encoded.' runs: using: "composite" From c9669ba9efa0513b805f474475e62a7bd3bb01c6 Mon Sep 17 00:00:00 2001 From: Joe Numainville Date: Fri, 25 Oct 2024 15:47:19 -0500 Subject: [PATCH 16/16] wip --- README.md | 4 ++-- action.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 101bbc7..5fea360 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ inputs: destination: required: true type: string - description: 'The destination directory to sync. Relative to the bucket.' + description: 'The destination directory to sync. Relative to the bucket. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' project_number: required: true type: string @@ -21,7 +21,7 @@ inputs: bucket: required: true type: string - description: 'The Google Cloud bucket to sync to. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' + description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string diff --git a/action.yml b/action.yml index c906e4b..9a2a514 100644 --- a/action.yml +++ b/action.yml @@ -9,7 +9,7 @@ inputs: destination: required: true type: string - description: 'The destination directory to sync. Relative to the bucket.' + description: 'The destination directory to sync. Relative to the bucket. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' project_number: required: true type: string @@ -17,7 +17,7 @@ inputs: bucket: required: true type: string - description: 'The Google Cloud bucket to sync to. It is recommended to use the GitHub repo path (such as deephaven/salmon-sync) as the minimum base to prevent collisions.' + description: 'The Google Cloud bucket to sync to.' credentials: required: true type: string