diff --git a/docs/hypernode-deploy/getting-started/configure-ci-cd.md b/docs/hypernode-deploy/getting-started/configure-ci-cd.md index e85c5999..c6032959 100644 --- a/docs/hypernode-deploy/getting-started/configure-ci-cd.md +++ b/docs/hypernode-deploy/getting-started/configure-ci-cd.md @@ -90,6 +90,8 @@ on: branches: - 'master' # Your main/master/production branch - 'staging' # Your staging/acceptance branch + +run-name: Build and deploy application – ${{ github.ref_name }} ``` ### Build step @@ -106,12 +108,12 @@ jobs: # Here we use the latest Hypernode Deploy image with PHP 8.4 and Node.js 22 container: quay.io/hypernode/deploy:latest-php8.4-node22 steps: - - uses: actions/checkout@v2 - - uses: actions/cache@v2 + - uses: actions/checkout@v5 + - uses: actions/cache@v4 with: path: /tmp/composer-cache key: ${{ runner.os }}-composer - - uses: webfactory/ssh-agent@v0.5.4 + - uses: webfactory/ssh-agent@v0.9.1 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - run: hypernode-deploy build -vvv @@ -122,6 +124,7 @@ jobs: with: name: deployment-build path: build/build.tgz + retention-days: 1 ``` ### Deploy step @@ -140,13 +143,13 @@ jobs: # Here we use the latest Hypernode Deploy image with PHP 8.4 and Node.js 22 container: quay.io/hypernode/deploy:latest-php8.4-node22 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v5 - name: download build artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v5 with: name: deployment-build path: build/ - - uses: webfactory/ssh-agent@v0.5.4 + - uses: webfactory/ssh-agent@v0.9.1 with: ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} - run: mkdir -p $HOME/.ssh