CasaOS-Store/.github/workflows/i18n.yml

35 lines
952 B
YAML

name: update i18n repo
on:
repository_dispatch:
workflow_dispatch:
inputs:
ssh:
description: 'SSH connection to Actions'
required: false
default: 'false'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: test
run: |
git clone https://github.com/IceWhaleTech/CasaOS-i18n.git
chmod +x ./help/action.sh
./help/action.sh
cat ./CasaOS-i18n/back-end/en_us.json
ls
# - name: Pushes to i18n repository
# uses: cpina/github-action-push-to-another-repository@main
# env:
# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
# with:
# source-directory: 'output'
# destination-github-username: 'IceWhaleTech'
# destination-repository-name: 'CasaOS-i18n'
# user-email: a624669980@163.com
# target-branch: main