aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/page.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/page.yml')
-rw-r--r--.github/workflows/page.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.github/workflows/page.yml b/.github/workflows/page.yml
index 33864e3..9dc680a 100644
--- a/.github/workflows/page.yml
+++ b/.github/workflows/page.yml
@@ -1,18 +1,20 @@
-name: "Deploy to Pages"
+name: 📦 Deploy to Pages
on:
push:
branches: ["main"]
paths-ignore:
- - ".github/**"
- "README.md"
workflow_dispatch:
+
permissions:
contents: read
pages: write
id-token: write
+
concurrency:
group: "pages"
cancel-in-progress: true
+
jobs:
build:
runs-on: ubuntu-latest
@@ -20,16 +22,17 @@ jobs:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- uses: DeterminateSystems/magic-nix-cache-action@v8
- - name: nix check
+ - name: ❄️ nix check
run: nix flake check
- - name: nix fmt
+ - name: ❄️ nix fmt
run: nix fmt
- - name: Build the site
+ - name: ❄️ Build the site
run: nix build
- - name: Upload artifact
+ - name: 📦 Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./result
+
deploy:
runs-on: ubuntu-latest
environment: