diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-27 07:58:36 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-27 07:58:36 -0800 |
| commit | 4540a59ed2f692bc3f507fb12ed6d21a2b770b9e (patch) | |
| tree | 91d1fd8ce1be1d3db00500fa2a4ce97171da79bf /.github/workflows/page.yml | |
| parent | update some of the workflows (diff) | |
| download | fcuny.net-4540a59ed2f692bc3f507fb12ed6d21a2b770b9e.tar.gz | |
add some emoji
Diffstat (limited to '')
| -rw-r--r-- | .github/workflows/page.yml | 15 |
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: |
