From 689ba1f1796bb7d392fb69178fa7476150f7ad3b Mon Sep 17 00:00:00 2001 From: Amir Abbas Mousavian Date: Sun, 17 Sep 2023 09:10:56 +0330 Subject: [PATCH] fix: DooC deployment --- .github/workflows/docc.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docc.yml b/.github/workflows/docc.yml index b75547c..ccb4650 100644 --- a/.github/workflows/docc.yml +++ b/.github/workflows/docc.yml @@ -42,12 +42,11 @@ jobs: --transform-for-static-hosting \ --hosting-base-path JWSETKit - - name: Commit and push generated documentation - run: | - git config --local user.email "github-actions[bot]@users.noreply.github.com" - git config --local user.name "github-actions[bot]" - git switch gh-pages - git add ./docs - git commit -a -m "Generated Swift DocC" - git push origin gh-pages + - name: Upload artifact + uses: actions/upload-pages-artifact@v2 + with: + path: 'docs' + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 \ No newline at end of file