Skip to content

Commit

Permalink
demo: init (#15)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandro <[email protected]>
  • Loading branch information
MarcelCoding and SuperSandro2000 authored Jun 29, 2024
1 parent 9912ae1 commit e7d3723
Show file tree
Hide file tree
Showing 5 changed files with 532 additions and 19 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: "pages"
on:
push:
branches:
- main
pull_request:
workflow_dispatch:

permissions:
actions: read
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
name: Build search
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Nix
uses: cachix/install-nix-action@V27

- name: Build search
working-directory: demo
run: nix build -L --override-input search ..

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: demo/result

deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
if: github.event_name == 'push'
Loading

0 comments on commit e7d3723

Please sign in to comment.