Skip to content

Commit 9d870a0

Browse files
committed
update workflow file
1 parent ecc355e commit 9d870a0

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,34 @@
11
name: Build and deploy
2+
23
on:
3-
push:
4-
branches:
5-
- main
6-
- master
7-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
- master
8+
workflow_dispatch:
9+
810
permissions:
9-
contents: read
10-
pages: write
11-
id-token: write
11+
contents: read
12+
pages: write
13+
id-token: write
14+
1215
concurrency:
13-
group: pages
14-
cancel-in-progress: false
16+
group: pages
17+
cancel-in-progress: false
18+
1519
defaults:
1620
run:
1721
shell: bash
22+
1823
jobs:
1924
build:
2025
runs-on: ubuntu-latest
2126
env:
22-
DART_SASS_VERSION: 1.97.1
23-
GO_VERSION: 1.25.5
24-
HUGO_VERSION: 0.154.2
25-
NODE_VERSION: 24.12.0
26-
TZ: Europe/Oslo
27+
DART_SASS_VERSION: 1.97.1
28+
GO_VERSION: 1.25.5
29+
HUGO_VERSION: 0.154.2
30+
NODE_VERSION: 24.12.0
31+
TZ: Europe/Oslo
2732
steps:
2833
- name: Checkout
2934
uses: actions/checkout@v5
@@ -93,10 +98,11 @@ jobs:
9398
uses: actions/upload-pages-artifact@v3
9499
with:
95100
path: ./public
101+
96102
deploy:
97103
environment:
98-
name: github-pages
99-
url: ${{ steps.deployment.outputs.page_url }}
104+
name: github-pages
105+
url: ${{ steps.deployment.outputs.page_url }}
100106
runs-on: ubuntu-latest
101107
needs: build
102108
steps:

0 commit comments

Comments
 (0)