Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 23 additions & 18 deletions docs/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,22 +110,26 @@ stages:
- deploy

build:
stage: deploy
stage: build
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
rules:
- if: '$CI_COMMIT_BRANCH == main'

deploy:
stage: deploy
needs:
- build
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops deploy -p core -e main -w
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops deploy -p core -e prod -w
rules:
- if: '$CI_COMMIT_BRANCH == main'
```
</code>
</TabItem>
Expand All @@ -135,15 +139,16 @@ deploy:
image: python:3.9

pipelines:
default:
- step:
name: Deploy
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- sleakops deploy -p core -e main -w
branches:
main:
- step:
name: Deploy
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- sleakops deploy -p core -e main -w
```
</code>
</TabItem>
Expand Down
41 changes: 23 additions & 18 deletions i18n/es/docusaurus-plugin-content-docs/current/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,26 @@ stages:
- deploy

build:
stage: deploy
stage: build
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
rules:
- if: '$CI_COMMIT_BRANCH == main'

deploy:
stage: deploy
needs:
- build
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops deploy -p core -e main -w
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops deploy -p core -e prod -w
rules:
- if: '$CI_COMMIT_BRANCH == main'
```
</code>
</TabItem>
Expand All @@ -134,15 +138,16 @@ deploy:
image: python:3.9

pipelines:
default:
- step:
name: Deploy
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- sleakops deploy -p core -e main -w
branches:
main:
- step:
name: Deploy
script:
- apt-get update -qy
- apt-get install -y python3-pip
- pip3 install sleakops
- sleakops build -p core -b main -w
- sleakops deploy -p core -e main -w
```
</code>
</TabItem>
Expand Down