نسخ من khaledmahfouz5/Maqtaa
Update CI helm
هذا الالتزام موجود في:
8
.github/workflows/helm.yml
مباع
8
.github/workflows/helm.yml
مباع
@@ -36,14 +36,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Push to docs repository
|
- name: Push to docs repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://${{ secrets.DOCS_REPO_TOKEN }}@github.com/${{ secrets.DOCS_REPO }}.git target-repo
|
git clone https://${{ secrets.STATIC_REPO_TOKEN }}@github.com/${{ secrets.STATIC_REPO }}.git target-repo
|
||||||
mkdir -p target-repo/helm
|
mkdir -p target-repo/helm
|
||||||
cp helm/*.tgz target-repo/helm/
|
cp helm/*.tgz target-repo/srv/helm/
|
||||||
cp helm/index.yaml target-repo/helm/
|
cp helm/index.yaml target-repo/srv/helm/
|
||||||
cd target-repo
|
cd target-repo
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Deploy helm chart from ${{ github.repository }}@${{ github.sha }}" || echo "No changes to commit"
|
git commit -m "Deploy helm chart from ${{ github.repository }}@${{ github.sha }}" || echo "No changes to commit"
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
git push
|
git push
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم