Skip to content

Commit 94e98e4

Browse files
authored
🚀 Attempting workflow 2
1 parent 510799c commit 94e98e4

File tree

1 file changed

+19
-18
lines changed

1 file changed

+19
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,24 @@ on:
1515

1616
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1717
jobs:
18-
# This workflow contains a single job called "build"
19-
build:
20-
# The type of runner that the job will run on
21-
runs-on: ubuntu-latest
18+
deploy:
19+
permissions:
20+
contents: read
21+
pages: write
22+
id-token: write
23+
runs-on: ubuntu-latest
2224

23-
# Steps represent a sequence of tasks that will be executed as part of the job
24-
steps:
25-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v4
27-
28-
- name: Configure GitHub Pages
29-
uses: actions/[email protected]
30-
- name: Upload GitHub Pages artifact
31-
uses: actions/[email protected]
32-
with:
33-
# upload entire directory
34-
path: './build/html'
35-
- name: Deploy GitHub Pages site
36-
uses: actions/[email protected]
25+
steps:
26+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+
- uses: actions/checkout@v4
3728

29+
- name: Configure GitHub Pages
30+
uses: actions/[email protected]
31+
- name: Upload GitHub Pages artifact
32+
uses: actions/[email protected]
33+
with:
34+
# upload entire directory
35+
path: './build/html'
36+
- name: Deploy GitHub Pages site
37+
uses: actions/[email protected]
38+

0 commit comments

Comments
 (0)