From 34f980c9df25d9d50dedf2c5a428683cd1574885 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Tue, 10 Aug 2021 16:44:48 +0200 Subject: [PATCH] Update diary.yml --- .github/workflows/diary.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/diary.yml b/.github/workflows/diary.yml index 9ff59c2..3cd21e5 100644 --- a/.github/workflows/diary.yml +++ b/.github/workflows/diary.yml @@ -14,6 +14,11 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Prepare branch + run: | + git fetch + git branch -f self origin/self + git checkout self - name: Install Lein run: | sudo apt update @@ -21,11 +26,8 @@ jobs: - name: Build run: | lein run - - name: Upload + - name: Upload new dist run: | - git fetch - git branch -f self origin/self - git checkout self rm -rf docs/index.html docs/static mv dist/index.html docs mv dist/static docs/