aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2023-05-05 20:39:36 +0300
committerValentin Popov <valentin@popov.link>2023-05-05 20:39:36 +0300
commit5026d0f8aff53a04a51ab7018a09ea9044560e89 (patch)
tree0e2d9cb8b577a4be654e2acfdb8ea5d881677126 /.github
parenta88e005dc7cd58f276aaf7560411f4355addcf50 (diff)
downloadpopov.link-5026d0f8aff53a04a51ab7018a09ea9044560e89.tar.xz
popov.link-5026d0f8aff53a04a51ab7018a09ea9044560e89.zip
Initial GitHub Actions
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/main.yml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..d9da935
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,14 @@
+on: push
+name: Build and deploy GitHub Pages
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ if: github.ref == 'refs/heads/main'
+ steps:
+ - name: checkout
+ uses: actions/checkout@v3.0.0
+ - name: build_and_deploy
+ uses: shalzz/zola-deploy-action@v0.17.2
+ env:
+ PAGES_BRANCH: gh-pages
+ TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file