Skip to content

Commit

Permalink
manuall trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
mubashirkamran4 committed Sep 28, 2022
1 parent 79ce2f5 commit bdf7e56
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/sync-manually.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: sync-locale-files

on:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Pushes to another repository manually on backend
id: push_directory_manually
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: backend/
destination-github-username: 'mubashirkamran4'
destination-repository-name: 'LIRE'
user-email: [email protected]
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: master
target-directory: config/locales/
- name: Pushes to another repository manually on frontend
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: frontend/
destination-github-username: 'mubashirkamran4'
destination-repository-name: 'LIRE'
user-email: [email protected]
commit-message: See ORIGIN_COMMIT from $GITHUB_REF
target-branch: master
target-directory: app/javascript/i18n/
4 changes: 3 additions & 1 deletion frontend/en.yml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
tag: this
tag: this

tt: this as well

0 comments on commit bdf7e56

Please sign in to comment.