File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 5353 id : config
5454 run : |
5555 if [[ "${{ github.ref_name }}" == "main" ]]; then
56- echo "target_repo =${{ github.repository }}" >> "$GITHUB_OUTPUT"
56+ echo "repo =${{ github.repository }}" >> "$GITHUB_OUTPUT"
5757 else
58- echo "target_repo =${{ github.repository }}-devel" >> "$GITHUB_OUTPUT"
58+ echo "repo =${{ github.repository }}-devel" >> "$GITHUB_OUTPUT"
5959 fi
6060
6161 - name : Modify site_url for development documentation
@@ -73,12 +73,12 @@ jobs:
7373 run : |
7474 echo "Deploying from branch: ${{ github.ref_name }}"
7575 echo "Commit: ${{ github.sha }}"
76- echo "Deploying to: ${{ steps.config.outputs.target_repo }}"
76+ echo "Deploying to: ${{ steps.config.outputs.repo }}"
7777
7878 git config --global user.email "[email protected] " 7979 git config --global user.name "github-actions"
8080
8181 git remote set-url origin \
82- https://github.com/${{ steps.config.outputs.target_repo }}
82+ https://github.com/${{ steps.config.outputs.repo }}
8383 mkdocs gh-deploy --config-file mkdocs.yml \
8484 --remote-branch gh-pages --force
You can’t perform that action at this time.
0 commit comments