-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: switch from deprecated helaili/jekyll-action to custom workflo…
…w using JamesIves/github-pages-deploy-action and rename deploy.yml to build.yml, copied from snik.eu
- Loading branch information
1 parent
dc83693
commit 3f08e6c
Showing
2 changed files
with
32 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build and Deploy | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-and-deploy: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Ruby and dependencies | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3' | ||
bundler-cache: true | ||
|
||
- name: Build static HTML | ||
run: bundle exec jekyll build | ||
|
||
- name: Deploy static HTML to the "static" branch | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
branch: static | ||
folder: _site | ||
single-commit: true |
This file was deleted.
Oops, something went wrong.