Public Access
DEVX-154: fix: configure git remote with CI token for post-merge push
This commit is contained in:
@@ -125,9 +125,12 @@ jobs:
|
|||||||
CI_GITEA_API_TOKEN: ${{ secrets.CI_GITEA_API_TOKEN }}
|
CI_GITEA_API_TOKEN: ${{ secrets.CI_GITEA_API_TOKEN }}
|
||||||
run: make setup-image EXTRAS=release
|
run: make setup-image EXTRAS=release
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
|
env:
|
||||||
|
CI_GITEA_API_TOKEN: ${{ secrets.CI_GITEA_API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git config user.name "devx-ci-bot"
|
git config user.name "devx-ci-bot"
|
||||||
git config user.email "devx-ci-bot@oblachno.fyi"
|
git config user.email "devx-ci-bot@oblachno.fyi"
|
||||||
|
git remote set-url origin "https://devx-ci-bot:${CI_GITEA_API_TOKEN}@git.oblachno.oblachno.fyi/oblachno-oss/devx.git"
|
||||||
# --- release + publish (only if user-facing changes, not a release commit) ---
|
# --- release + publish (only if user-facing changes, not a release commit) ---
|
||||||
- name: Run release
|
- name: Run release
|
||||||
id: release-tag
|
id: release-tag
|
||||||
|
|||||||
Reference in New Issue
Block a user