Skip to content

Commit

Permalink
Add page build action
Browse files Browse the repository at this point in the history
  • Loading branch information
IAlibay committed Sep 29, 2023
1 parent f5f5e1b commit 3634775
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build_page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: GH Actions CI
on:
push:
branches:
- master
pull_request:
branches:
- master

concurrency:
# Probably overly cautious group naming.
# Commits to develop will cancel each other, but PRs will only cancel
# commits within the same PR
group: "${{ github.ref }}-${{ github.head_ref }}-${{ github.workflow }}"
cancel-in-progress: true

defaults:
run:
shell: bash -l {0}

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

0 comments on commit 3634775

Please sign in to comment.