From 4a8b2c3430fece7fdc02382becfc85acedfaedc7 Mon Sep 17 00:00:00 2001 From: Mario Sarcher Date: Fri, 30 Oct 2020 12:57:04 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 70cca236f6..766c7647a2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,14 +13,6 @@ jobs: uses: actions/checkout@v2 with: repository: lensapp/lens - path: lens - - # - name: Checkout lensapp/mkdocs-material-insiders - # uses: actions/checkout@v2 - # with: - # repository: lensapp/mkdocs-material-insiders - # path: mkdocs-material-insiders - # token: ${{ secrets.GH_TOKEN }} - name: Set up Python 3.7 uses: actions/setup-python@v2 @@ -41,30 +33,14 @@ jobs: - name: mkdocs deploy latest if: contains(github.ref, 'refs/heads/') run: | - cd lens/ - mike deploy --push --rebase --update-aliases ${{ github.sha }} latest + mike deploy --push --force --update-aliases ${{ github.sha }} latest - name: mkdocs deploy new release / tag if: contains(github.ref, 'refs/tags/v') run: | - cd lens/ mike deploy --push --rebase --update-aliases ${{ github.sha }} latest mike set-default --rebase --push ${{ github.sha }} - -# - name: Commit files -# run: | -# cd lensdocs/ -# git config --local user.email "action@github.com" -# git config --local user.name "GitHub Action" -# git commit -am "Build mkdocs from GH-Actions" - -# - name: Push changes -# uses: ad-m/github-push-action@master -# with: -# directory: ./lensdocs -# repository: lensapp/docs -# branch: gh-pages -# github_token: ${{ secrets.GH_TOKEN }} +