aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-12-27 07:58:36 -0800
committerFranck Cuny <franck@fcuny.net>2024-12-27 07:58:36 -0800
commit4540a59ed2f692bc3f507fb12ed6d21a2b770b9e (patch)
tree91d1fd8ce1be1d3db00500fa2a4ce97171da79bf
parentupdate some of the workflows (diff)
downloadfcuny.net-4540a59ed2f692bc3f507fb12ed6d21a2b770b9e.tar.gz
add some emoji
-rw-r--r--.github/workflows/check-links.yml3
-rw-r--r--.github/workflows/page.yml15
2 files changed, 10 insertions, 8 deletions
diff --git a/.github/workflows/check-links.yml b/.github/workflows/check-links.yml
index 97ddc8a..4ea3833 100644
--- a/.github/workflows/check-links.yml
+++ b/.github/workflows/check-links.yml
@@ -1,4 +1,4 @@
-name: Check links
+name: 🌐 Check Links
"on":
pull_request:
@@ -26,7 +26,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v16
- - uses: DeterminateSystems/magic-nix-cache-action@v8
- name: Build the site
run: nix build --print-build-logs
- name: Restore lychee cache
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: