Commit 2c2896d6 authored by M4xw's avatar M4xw 🍗

Update .gitlab-ci.yml

parent e6941fd6
Pipeline #4623 failed with stage
in 13 seconds
image: devkitpro/devkita64:latest
stages:
- build-prepare
- package
- create image
rebase-upstream-auto:
image: $CI_SERVER_HOST:4567/libretro/infrastructure/libretro-build-amd64-ubuntu:latest
stage: build-prepare
only: [chat]
before_script:
- url_host=`git remote get-url origin | sed -e "s/https:\/\/gitlab-ci-token:.*@//g"`
script:
- git config user.name $GIT_ACCESS_USER
- git config user.email $GIT_ACCESS_EMAIL
- git fetch origin
- git reset --hard
- git clean -fd
- git checkout $CI_COMMIT_REF_NAME
- git reset --hard origin/$CI_COMMIT_REF_NAME
- git remote set-url origin "https://$GIT_ACCESS_USER:$GIT_ACCESS_TOKEN@${url_host}"
- git remote add upstream "hhttps://github.com/switchbrew/libnx.git"
- git fetch upstream
- git rebase upstream/master
- git push origin ${CI_BUILD_REF_NAME} --force || true
package:
stage: package
before_script:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment