diff options
author | Valentin Popov <valentin@popov.link> | 2023-05-06 18:31:23 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2023-05-06 18:31:23 +0300 |
commit | 86de1298639d61d7c540d5ebb8c89941e3fe30ee (patch) | |
tree | b0b986a8c6088f04fe4a06f1ebef1d7dfd0d7d18 | |
parent | 8a1f218a08bec69a5bb531d8c69562b5e9a3d093 (diff) | |
download | popov.link-86de1298639d61d7c540d5ebb8c89941e3fe30ee.tar.xz popov.link-86de1298639d61d7c540d5ebb8c89941e3fe30ee.zip |
Updated build script GitHub Actions
Signed-off-by: Valentin Popov <valentin@popov.link>
-rw-r--r-- | .github/workflows/main.yml | 9 |
1 files 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 |