File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ name : ota-distribution
2+
3+ on :
4+ workflow_dispatch :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ steps :
10+ # - uses: actions/checkout@v3
11+ # - name: Set up JDK 17
12+ # uses: actions/setup-java@v3
13+ # with:
14+ # java-version: '17'
15+ # distribution: 'temurin'
16+ - name : Build Translations
17+ uses : Ghost-chu/CrowdinCopyDeploy-action@master
18+ with :
19+ args : uploads3
20+ env :
21+ CROWDIN_ACCESS_TOKEN : ${{ secrets.CROWDIN_ACCESS_TOKEN }}
22+ CROWDIN_PROJECT_BRANCH_ID : ' 126'
23+ CROWDIN_PROJECT_ID : ' 524354'
24+ # DEPLOY_PATH: './deploy-prod'
25+ AWS_S3_ENDPOINT : ${{ secrets.AWS_S3_ENDPOINT }}
26+ AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET }}
27+ AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
28+ AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
29+ AWS_REGION : auto
30+ - name : Purge CloudFlare cache
31+ uses : jakejarvis/cloudflare-purge-action@master
32+ env :
33+ # Zone is required by both authentication methods
34+ CLOUDFLARE_ZONE : ${{ secrets.CLOUDFLARE_ZONE }}
35+ CLOUDFLARE_TOKEN : ${{ secrets.CLOUDFLARE_TOKEN }}
36+ CLOUDFLARE_EMAIL : ${{ secrets.CLOUDFLARE_EMAIL }}
You can’t perform that action at this time.
0 commit comments