@@ -20,15 +20,15 @@ Latest version: v2.0.2
2020- name : Push to another repository
2121 uses : Songmu/action-push-to-another-repository@v2
2222 with :
23- github- token : ${{ secrets.GITHUB_TOKEN }}
23+ token : ${{ secrets.GITHUB_TOKEN }}
2424 destination-repository : ' owner/repo'
2525` ` `
2626
2727## Inputs
2828
2929| Name | Description | Required | Default |
3030|------|-------------|----------|---------|
31- | ` github- token` | GitHub token with write access to the destination repository | Yes | - |
31+ | ` token` | GitHub token with write access to the destination repository | Yes | - |
3232| `destination-repository` | Destination repository (format : ` owner/repo` ) | Yes | - |
3333| `source-directory` | Source directory from the origin directory | No | `.` |
3434| `destination-branch` | Destination branch name for the destination repository | No | `main` |
6868 - name: Push to another repository
6969 uses: Songmu/action-push-to-another-repository@v2
7070 with:
71- github- token: "${{ steps.generate_token.outputs.token }}"
71+ token: "${{ steps.generate_token.outputs.token }}"
7272 destination-repository: 'owner/dest-repo'
7373` ` `
7474
9292 - name: Push to another repository
9393 uses: Songmu/action-push-to-another-repository@v2
9494 with:
95- github- token: "${{ secrets.GITHUB_TOKEN }}"
95+ token: "${{ secrets.GITHUB_TOKEN }}"
9696 destination-repository: '$you/$yourepo'
9797 source-directory: './src'
9898 destination-directory: 'vendor/another-repo'
0 commit comments