mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-28 23:31:21 +00:00
Attempt to fix CI building wrong commits (#3830)
* Attempt to fix CI building wrong commits * Update .woodpecker.yml * Update .woodpecker.yml
This commit is contained in:
parent
57cb5637fc
commit
5e9930bdcc
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ pipeline:
|
|||
image: alpine:3
|
||||
commands:
|
||||
- apk add git
|
||||
# Try to prevent the previous commit from being used
|
||||
- sleep 10
|
||||
- git fetch --no-tags --depth=1 --filter=tree:0 origin "+refs/pull/$CI_COMMIT_PULL_REQUEST/merge:"
|
||||
- git checkout -qf FETCH_HEAD
|
||||
- git submodule init
|
||||
- git submodule update
|
||||
|
||||
|
|
Loading…
Reference in a new issue