chg: pkg: new version release !skipChangelog
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
Some checks failed
Deploy to Production / deploy (push) Failing after 0s
This commit is contained in:
@@ -10,11 +10,15 @@ jobs:
|
|||||||
runs-on: splendid-bear
|
runs-on: splendid-bear
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout tag
|
- name: Checkout tag
|
||||||
|
env:
|
||||||
|
GITEA_TOKEN: ${{ gitea.token }}
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
export HOME=/tmp
|
export HOME=/tmp
|
||||||
git config --global --add safe.directory "${{ vars.PROD_APP_DIR }}"
|
git config --global --add safe.directory "${{ vars.PROD_APP_DIR }}"
|
||||||
cd "${{ vars.PROD_APP_DIR }}"
|
cd "${{ vars.PROD_APP_DIR }}"
|
||||||
|
AUTHED=$(git remote get-url origin | sed "s|://|://oauth2:${GITEA_TOKEN}@|")
|
||||||
|
git remote set-url origin "$AUTHED"
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
git checkout "${{ gitea.ref_name }}"
|
git checkout "${{ gitea.ref_name }}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user