Skip to content

Commit

Permalink
Update ci (#12)
Browse files Browse the repository at this point in the history
* Add autodeploy in ci

* Update actions.yaml

* Update actions.yaml
  • Loading branch information
alexvarko authored Dec 29, 2023
1 parent 114e1b5 commit cca1c00
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 41 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:
- 'dev'
- 'master'

jobs:
converge:
Expand Down Expand Up @@ -32,15 +32,15 @@ jobs:
. $(werf ci-env github --as-file)
werf export web --tag ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA
# 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/ -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-docs-stage-webclient webclient=ghcr.io/$GITHUB_REPOSITORY:$GITHUB_SHA -n docs-stage
28 changes: 0 additions & 28 deletions .github/workflows/update-doc.yaml

This file was deleted.

0 comments on commit cca1c00

Please sign in to comment.