From c4f4a5d1cd5f99e20a16c339f56dad2d44b1669e Mon Sep 17 00:00:00 2001 From: Mikhail Rubanov Date: Sat, 9 Dec 2023 07:47:55 -0300 Subject: [PATCH] Add cd command --- .github/workflows/update_docs.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml index 11ea509..b52a745 100644 --- a/.github/workflows/update_docs.yml +++ b/.github/workflows/update_docs.yml @@ -35,6 +35,10 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v2 + - name: Open Package + run: | + cd ${{ env.SCHEME }} + - name: Build run: | swift package --allow-writing-to-directory ${{ env.DERIVED_DATA_PATH }} generate-documentation --target ${{ env.SCHEME }} --disable-indexing --transform-for-static-hosting --hosting-base-path '${{ env.HOSTING_BASE_PATH }}' --output-path ${{ env.DERIVED_DATA_PATH }}