From 570f2bec4df42b780ea127255f76384c5740fc6e Mon Sep 17 00:00:00 2001 From: Fmar Date: Thu, 18 Jan 2024 12:33:54 +0100 Subject: [PATCH] comment deployment gh jobs --- .github/workflows/workflow.yaml | 68 ++++++++++++++++----------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/workflow.yaml b/.github/workflows/workflow.yaml index d1a2620c..cc980401 100644 --- a/.github/workflows/workflow.yaml +++ b/.github/workflows/workflow.yaml @@ -28,37 +28,37 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Checkout deployment repo - uses: actions/checkout@v2 - with: - repository: getalby/alby-deployment - path: infrastructure - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - # Always update dev environment - - name: Update dev environment - if: ${{ github.ref == 'refs/heads/main' }} - uses: fjogeleit/yaml-update-action@v0.7.0 - with: - valueFile: 'alby-simnet-deployment/values/nwc.yaml' - propertyPath: 'nwc.image.tag' - value: ${{ steps.build.outputs.tags }} - repository: getalby/alby-deployment - branch: main - createPR: false - message: 'CD: Update nwc tag to ${{ steps.build.outputs.tags }}' - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - workDir: infrastructure - # Only update prod environment if this action was triggered by a new tag - - name: Update production environment - if: startsWith(github.ref, 'refs/tags') - uses: fjogeleit/yaml-update-action@v0.7.0 - with: - valueFile: 'alby-mainnet-deployment/values.yaml' - propertyPath: 'nwc.image.tag' - value: ${{ steps.build.outputs.tags }} - repository: getalby/alby-deployment - branch: main - createPR: false - message: 'CD: Update nwc tag to ${{ steps.build.outputs.tags }}' - token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - workDir: infrastructure +# - name: Checkout deployment repo +# uses: actions/checkout@v2 +# with: +# repository: getalby/alby-deployment +# path: infrastructure +# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} +# # Always update dev environment +# - name: Update dev environment +# if: ${{ github.ref == 'refs/heads/main' }} +# uses: fjogeleit/yaml-update-action@v0.7.0 +# with: +# valueFile: 'alby-simnet-deployment/values/nwc.yaml' +# propertyPath: 'nwc.image.tag' +# value: ${{ steps.build.outputs.tags }} +# repository: getalby/alby-deployment +# branch: main +# createPR: false +# message: 'CD: Update nwc tag to ${{ steps.build.outputs.tags }}' +# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} +# workDir: infrastructure +# # Only update prod environment if this action was triggered by a new tag +# - name: Update production environment +# if: startsWith(github.ref, 'refs/tags') +# uses: fjogeleit/yaml-update-action@v0.7.0 +# with: +# valueFile: 'alby-mainnet-deployment/values.yaml' +# propertyPath: 'nwc.image.tag' +# value: ${{ steps.build.outputs.tags }} +# repository: getalby/alby-deployment +# branch: main +# createPR: false +# message: 'CD: Update nwc tag to ${{ steps.build.outputs.tags }}' +# token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} +# workDir: infrastructure