diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index ac376de..bdfa1f6 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -5,7 +5,7 @@ on: branches: [ "master" ] jobs: - build: + build-and-deploy: runs-on: ubuntu-latest steps: @@ -21,16 +21,9 @@ jobs: - name: Build website run: make all - deploy: - runs-on: ubuntu-latest - needs: build - steps: - - name: Compress site into tarball - run: tar cavf github-pages.tar.gz public/* - - - - name: Upload Pages artifact - uses: actions/upload-pages-artifact@v2 - + - name: Compress site into tarball + run: tar cavf github-pages.tar.gz public/* + - name: Upload Pages artifact + uses: actions/upload-pages-artifact@v2