Skip to content

Commit 8555ac2

Browse files
committed
fixing workflow
1 parent c685b57 commit 8555ac2

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

.github/workflows/deploy_on_release.yaml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,34 +5,32 @@ on:
55
- 'published'
66

77
jobs:
8-
run:
9-
runs-on: [ubuntu-latest]
10-
container: docker://dvcorg/cml-py3:latest
8+
runs-on: [ubuntu-latest]
9+
container: docker://dvcorg/cml-py3:latest
1110

12-
steps:
13-
- uses: actions/checkout@v2
14-
- name: 'Deploy/Update on new release'
15-
16-
shell: bash
11+
steps:
12+
- uses: actions/checkout@v2
13+
- name: 'Deploy/Update on new release'
14+
- shell: bash
1715

1816
env:
1917
repo_token: ${{ secrets.GITHUB_TOKEN }}
2018
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2119
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2220
CRED_SECRET: ${{ secrets.IBM_CREDENTIALS_PASS }}
2321

24-
run: |
25-
# Install requirements
26-
pip install -r requirements.txt
22+
run: |
23+
# Install requirements
24+
pip install -r requirements.txt
2725
28-
# Pull data & run-cache from S3 and reproduce pipeline
29-
dvc pull --run-cache
30-
dvc repro
26+
# Pull data & run-cache from S3 and reproduce pipeline
27+
dvc pull --run-cache
28+
dvc repro
3129
32-
# Decrypt credentials file
33-
gpg --quiet --batch --yes --decrypt --passphrase="$CRED_SECRET" --output credentials.yaml credentials.yaml.gpg
30+
# Decrypt credentials file
31+
gpg --quiet --batch --yes --decrypt --passphrase="$CRED_SECRET" --output credentials.yaml credentials.yaml.gpg
3432
35-
# Check if there is a deployment already, if positive update it, otherwise deploys it for the first time
36-
./src/scripts/Scripts/git_release_pipeline.sh
33+
# Check if there is a deployment already, if positive update it, otherwise deploys it for the first time
34+
./src/scripts/Scripts/git_release_pipeline.sh
3735
38-
36+

0 commit comments

Comments
 (0)