Skip to content

Commit 9f2a94a

Browse files
authored
Update README.md
1 parent 7fcb29f commit 9f2a94a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,21 @@ dvc run -n evaluate -d ./src/evaluate.py -d ./data/weatherAUS_processed.csv \
103103
python3 ./src/evaluate.py ./data/weatherAUS_processed.csv ./src/model.py ./models/model.joblib
104104
```
105105

106+
### 🐙 Git Actions
107+
🔐 IBM Credentials
108+
109+
110+
Fill the ```credentials_example.yaml``` file and rename it to ```credentials.yaml``` to be able to run the scripts that require IBM keys. ⚠️ Never upload this file to GitHub!
111+
112+
To use Git Actions to deploy your model, you'll need to encrypt it, to do that run the command bellow and choose a strong password.
113+
114+
```
115+
gpg --symmetric --cipher-algo AES256 credentials.yaml
116+
```
117+
Now in the GitHub page for the repository, go to ```Settings->Secrets``` and add the keys to the following secrets:
118+
119+
```
120+
AWS_ACCESS_KEY_ID (Bucket Credential)
121+
AWS_SECRET_ACCESS_KEY (Bucket Credential)
122+
IBM_CREDENTIALS_PASS (password for the encrypted file)
123+
```

0 commit comments

Comments
 (0)