Skip to content

Commit

Permalink
Added conditions for deploy tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrst88 committed Jun 7, 2023
1 parent e3a8551 commit 96e3554
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/server.update-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ concurrency: server-update-config-${{ inputs.environment }}

jobs:
update:
if: inputs.skip-update
name: configMap (server-env-custom)
runs-on: [self-hosted, deployer, "${{ inputs.cluster }}"]
container:
Expand All @@ -63,11 +62,13 @@ jobs:
token: ${{ secrets.github-token }}
-
name: Generate ~/.kube/config
if: inputs.skip-update
working-directory: gh-workflows
run: scripts/kubeconfig-projected-token
-
name: Clone configs
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
if: inputs.skip-update
with:
repository: matter-labs/configs
path: configs
Expand All @@ -76,6 +77,7 @@ jobs:
-
name: Update Server Config
working-directory: configs
if: inputs.skip-update
run: |
sudo apk --no-cache add yarn
./bin/config
Expand Down

0 comments on commit 96e3554

Please sign in to comment.