File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed
Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 2020 with :
2121 ssh-private-key : ${{ secrets.SSH_PRIVATE_KEY }}
2222 - run : hypernode-deploy build -vvv
23- env :
24- RUN_ID : ${{ github.run_id }}
2523 - name : archive production artifacts
2624 uses : actions/upload-artifact@v3
2725 with :
@@ -47,11 +45,10 @@ jobs:
4745 run : hypernode-deploy deploy acceptance -vvv
4846 env :
4947 HYPERNODE_API_TOKEN : ${{ secrets.HYPERNODE_API_TOKEN }}
50- RUN_ID : ${{ github.run_id }}
5148 - name : Get brancher hostname
5249 run : echo "BRANCHER_HOSTNAME=$(jq .hostnames[0] deployment-report.json -r)" >> $GITHUB_ENV
5350 - name : Comment hostname on PR
5451 uses : thollander/actions-comment-pull-request@v1
5552 with :
5653 message : |
57- Acceptance server is available at https://${{ github.run_id }}.${{ env.BRANCHER_HOSTNAME }}
54+ Acceptance server is available at https://${{ env.BRANCHER_HOSTNAME }}
Original file line number Diff line number Diff line change 3838});
3939
4040task ("deploy:docs_vhost " , static function () {
41- $ runID = getenv ("RUN_ID " );
42- run (sprintf ("hypernode-manage-vhosts --https --force-https %s.{{hostname}} --webroot {{current_path}}/{{public_folder}} " , $ runID ));
41+ run ("hypernode-manage-vhosts --https --force-https {{hostname}} --webroot {{current_path}}/{{public_folder}} " );
4342});
4443
4544$ configuration = new Configuration ();
8281# Define the target server (docker instance) we're deploying to
8382$ dockerStage ->addServer ($ DOCKER_HOST );
8483
85- $ runID = getenv ("RUN_ID " );
8684$ testingStage = $ configuration ->addStage ("acceptance " , "docs " );
8785$ testingStage ->addBrancherServer ("hntestgroot " );
8886
You can’t perform that action at this time.
0 commit comments