Update zh-cn.xml (#92) #96
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Localization deploy' | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Create deployment | |
uses: chrnorm/deployment-action@releases/v1 | |
id: create_deploy | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
description: Production | |
environment: production | |
- name: Deploy | |
uses: BetaHuhn/[email protected] | |
with: | |
access_key: ${{ secrets.AWS_ACCESS_KEY }} | |
secret_key: ${{ secrets.AWS_SECRET_KEY }} | |
space_name: ${{ secrets.BUCKET_NAME }} | |
space_region: ${{ secrets.BUCKET_REGION }} | |
source: localization | |
out_dir: localization | |
- name: Update deployment status | |
uses: chrnorm/deployment-status@releases/v1 | |
if: success() | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
state: 'success' | |
deployment_id: ${{ steps.create_deploy.outputs.deployment_id }} | |