Skip to content

Commit

Permalink
ci: remove cp as the permission is not enough
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv committed Jun 6, 2024
1 parent 7b7e2f2 commit 7762f3e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/extract_and_sync_translations/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Sync Translations with CloudFlare
description: Sync Crowdin translations of desired environment with cloudflare
permissions:
contents: write

inputs:
PROJECT_NAME:
Expand Down Expand Up @@ -82,9 +80,7 @@ runs:
CROWDIN_PERSONAL_TOKEN: ${{ inputs.CROWDIN_PERSONAL_TOKEN }}
CROWDIN_BASE_URL: ${{ inputs.CROWDIN_BASE_URL }}
CROWDIN_BASE_PATH: ${{ inputs.CROWDIN_BASE_PATH }}
- name: Copy messages.json (source file) as en.json to the translations folder.
shell: bash
run: cp ./crowdin/messages.json ./translations/en.json

- name: R2 Upload Action to upload translations to Cloudflare
uses: ryand56/r2-upload-action@latest
with:
Expand Down

0 comments on commit 7762f3e

Please sign in to comment.