Skip to content

Merge pull request #38 from ashkanpakzad/docs-paper #9

Merge pull request #38 from ashkanpakzad/docs-paper

Merge pull request #38 from ashkanpakzad/docs-paper #9

Workflow file for this run

name: copyreadme
on:
push:
branches: [ master ]
paths: 'docs/index.rst'
jobs:
docit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Copy the index
run: cp docs/index.rst readme.rst
- name: Commit files
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add readme.rst
git commit -m "updated readme" -a
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}