Skip to content

Commit

Permalink
comment deployment gh jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
frnandu committed Jan 18, 2024
1 parent b5d8501 commit 570f2be
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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/[email protected]
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/[email protected]
# 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/[email protected]
# 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

0 comments on commit 570f2be

Please sign in to comment.