Compare commits
4 Commits
5e386d7df8
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7d04357e5 | ||
|
|
a14f1e50cd | ||
|
|
5e7f76d470 | ||
|
|
4f1a6b1c1b |
@@ -37,8 +37,8 @@ jobs:
|
||||
- name: Update infrastructure repository
|
||||
run: |
|
||||
# Клонируем инфра-репозиторий
|
||||
git clone https://${{ secrets.USER }}:${{ secrets.GITEA }}@gitea.apps.kopikopi.com.ru/examples/nginx-intrasture.git
|
||||
cd nginx-intrasture/apps/static-site
|
||||
git clone https://${{ secrets.USER }}:${{ secrets.GITEA }}@git.apps.kopikopi.com.ru/examples/nginx-infra.git
|
||||
cd nginx-infra/apps/static-site
|
||||
|
||||
# Простое решение: используем sed для изменения deployment.yaml
|
||||
NEW_IMAGE="harbor.apps.kopikopi.com.ru/drone/test:${{ steps.vars.outputs.sha_short }}"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
<html>
|
||||
<head><title>World</title></head>
|
||||
<body>
|
||||
<h1>hello world 2</h1>
|
||||
<h1>hello world 4</h1>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user