File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2323 else
2424 echo "DEPLOYMENT_ID=${{ github.event.pull_request.number }}" >> $GITHUB_ENV
2525 fi
26- echo "DEPLOYMENT_ID=$DEPLOYMENT_ID"
26+ echo "DEPLOYMENT_ID=${{ env. DEPLOYMENT_ID }} "
2727
2828 - uses : actions/checkout@v3
2929 with :
6868 # The GH actions bot is used by default if you didn't specify the two fields.
6969 # You can swap them out with your own user credentials.
7070 publish_branch : gh-pages
71+ enable_jekyll : true
7172
7273 - name : Add Comment to PR
74+ if : ${{ env.DEPLOYMENT_ID != 'manual-trigger' }}
7375 uses : thollander/actions-comment-pull-request@v2
7476 with :
7577 message : |
7678 Published at https://${{ github.repository_owner }}.github.io/operating-systems/${{ env.DEPLOYMENT_ID }}/
79+
80+ - name : Output Deployment URL
81+ if : ${{ env.DEPLOYMENT_ID == 'manual-trigger' }}
82+ run : |
83+ echo "The deployment is available at https://${{ github.repository_owner }}.github.io/operating-systems/${{ env.DEPLOYMENT_ID }}/"
You can’t perform that action at this time.
0 commit comments