From 524b95aae1d02b0aa386e3a7e71eb081892e5cdf Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Wed, 5 Feb 2025 12:56:18 +0100 Subject: [PATCH 1/3] fix deployment build for docs --- .github/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bf9ba3be..56ee33ae 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:4-php8.4-node20 steps: - uses: actions/checkout@v3 with: @@ -47,13 +47,13 @@ jobs: name: acceptance url: ${{ steps.get_brancher_hostname.outputs.BRANCHER_URL }} if: github.ref != 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:4-php8.4-node20 steps: - uses: actions/checkout@v3 with: fetch-depth: 0 - name: download build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: deployment-build path: build/ @@ -102,7 +102,7 @@ jobs: name: production url: https://docs.hypernode.io if: github.ref == 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.3-node20 + container: quay.io/hypernode/deploy:4-php8.4-node20 steps: - uses: actions/checkout@v3 - name: download build artifact From 02fda424ab5b7c3ed4022f3aff82839d032c4ad2 Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Wed, 5 Feb 2025 12:57:15 +0100 Subject: [PATCH 2/3] update all references for upload-artifact to v4 --- .github/workflows/deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 56ee33ae..a3ed3982 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -34,7 +34,7 @@ jobs: echo "DOCS_INDEX_FOLLOW=1" >> $GITHUB_ENV - run: hypernode-deploy build -vvv - name: archive production artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: deployment-build path: build/build.tgz @@ -106,7 +106,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: download build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: deployment-build path: build/ From 55086fbed959d05204ccbb30442cfa1c3f4ef4d8 Mon Sep 17 00:00:00 2001 From: Jonathan Visser Date: Wed, 5 Feb 2025 12:58:26 +0100 Subject: [PATCH 3/3] revert change and go back to php8.3 for deployment --- .github/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a3ed3982..bade73a2 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -12,7 +12,7 @@ env: jobs: build: runs-on: ubuntu-latest - container: quay.io/hypernode/deploy:4-php8.4-node20 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 with: @@ -47,7 +47,7 @@ jobs: name: acceptance url: ${{ steps.get_brancher_hostname.outputs.BRANCHER_URL }} if: github.ref != 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.4-node20 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 with: @@ -102,7 +102,7 @@ jobs: name: production url: https://docs.hypernode.io if: github.ref == 'refs/heads/master' - container: quay.io/hypernode/deploy:4-php8.4-node20 + container: quay.io/hypernode/deploy:4-php8.3-node20 steps: - uses: actions/checkout@v3 - name: download build artifact