diff --git a/.github/workflows/copy-readme-to-wiki.yml b/.github/workflows/copy-readme-to-wiki.yml index 4497ade..4480851 100644 --- a/.github/workflows/copy-readme-to-wiki.yml +++ b/.github/workflows/copy-readme-to-wiki.yml @@ -15,8 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Rename README.md to HOME.md + run: | + if [ -f README.md ]; then + mv README.md HOME.md + fi - uses: Andrew-Chen-Wang/github-wiki-action@v4 with: token: ${{ secrets.GH_TOKEN }} - preprocess: true path: . \ No newline at end of file