Merge pull request #132 from masa-finance/dependabot/npm_and_yarn/typ… #316
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: Publish to Docs | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: pandoc/latex | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Copy readme | |
run: | | |
mkdir docs | |
cp README.md docs | |
cp CHANGELOG.md docs | |
- name: Pushes to another repository | |
uses: cpina/github-action-push-to-another-repository@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source-directory: 'docs' | |
target-directory: 'docs/developers/cli' | |
destination-github-username: 'masa-finance' | |
destination-repository-name: 'docs' | |
user-email: 13647606+H34D@users.noreply.github.com | |
target-branch: main |