From 86de1298639d61d7c540d5ebb8c89941e3fe30ee Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 6 May 2023 19:31:23 +0400 Subject: Updated build script GitHub Actions Signed-off-by: Valentin Popov --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0af200d..8c3455b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,14 +1,15 @@ on: push jobs: - build: + build_and_deploy: runs-on: ubuntu-latest if: github.ref == 'refs/heads/master' steps: - name: 'checkout' uses: actions/checkout@v3.0.0 - - name: 'build_and_deploy' + - name: 'build and deploy' uses: shalzz/zola-deploy-action@v0.17.2 env: BUILD_FLAGS: --base-url ${{ secrets.DOMAIN }} - PAGES_BRANCH: gh-pages - TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + PAGES_BRANCH: master + REPOSITORY: ${{ secrets.REPOSITORY }} + TOKEN: ${{ secrets.TOKEN }} \ No newline at end of file -- cgit v1.2.3