From fd84d960add9daab1f54ef828216a1d4f031f034 Mon Sep 17 00:00:00 2001 From: Jamil Bou Kheir Date: Tue, 11 Jan 2022 16:47:28 -0800 Subject: [PATCH] fetch it all --- .github/workflows/ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62f763c5d..e93815d36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -195,6 +195,8 @@ jobs: runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 - uses: ruby/setup-ruby@v1 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically @@ -217,7 +219,6 @@ jobs: echo 'url: "https://docs.firez.one"' >> _config.yml bundle exec jekyll build --destination 1.0.0 - run: | - git checkout gh-pages echo ' @@ -225,13 +226,11 @@ jobs: ' > index.html - git add . - git commit -m "Update index.html" - # - uses: EndBug/add-and-commit@v7 - # with: - # message: Add index.html - # add: index.html - # branch: gh-pages + - uses: EndBug/add-and-commit@v7 + with: + message: Add index.html + add: index.html + branch: gh-pages - name: Publish Docs uses: JamesIves/github-pages-deploy-action@v4.2.2 with: