Skip to content

Commit

Permalink
Update actions.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvarko authored Dec 14, 2023
1 parent 4825fb3 commit a98ed95
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/actions.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- 'master'
- '**'

jobs:
converge:
Expand Down Expand Up @@ -32,16 +32,16 @@ jobs:
. $(werf ci-env github --as-file)
echo "${{ secrets.STAGE_ENV }}" > .env.deploy
werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA --dev
stage-deploy:
name: Deploy on stage
needs: converge
runs-on: ubuntu-latest
steps:
- name: ConfigCreate
run: |
mkdir ~/.kube/
echo "${{ secrets.KUBECONFIG }}" > config
mv config ~/.kube/
ls ~/.kube/
kubectl set image deployment/solarity-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA -n stage
# stage-deploy:
# name: Deploy on stage
# needs: converge
# runs-on: ubuntu-latest
# steps:
# - name: ConfigCreate
# run: |
# mkdir ~/.kube/
# echo "${{ secrets.KUBECONFIG }}" > config
# mv config ~/.kube/
# ls ~/.kube/
# kubectl set image deployment/solarity-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA -n stage

0 comments on commit a98ed95

Please sign in to comment.