瀏覽代碼

pushd/popd not working in pipeline

Kirk Trombley 5 年之前
父節點
當前提交
808031169c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      update.sh

+ 2 - 2
update.sh

@@ -4,7 +4,7 @@ rm -rf ./pull/
 mkdir -pv ./pull/audiobot
 curl https://splamy.de/api/nightly/ts3ab/master_dotnet_core_3_1_preview/download -o ./pull/audiobot/audiobot.zip
 curl -L https://yt-dl.org/downloads/latest/youtube-dl -o ./pull/youtube-dl
-pushd ./pull/audiobot
+cd ./pull/audiobot
 unzip audiobot.zip
 rm audiobot.zip
-popd
+cd ../..