Skip to content

Commit 1b7926b

Browse files
committed
Merge branch 'master' of github.com:ByteInternet/hypernode-docs-next into hypernode_deploy
2 parents 197645a + 53ad178 commit 1b7926b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ jobs:
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 }}

deploy.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
});
3939

4040
task("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();
@@ -82,7 +81,6 @@
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

0 commit comments

Comments
 (0)