Skip to content

Commit 5218273

Browse files
feat: update actions and remove JUNO_TOKEN usage (#4)
* feat: update actions and remove JUNO_TOKEN usage * feat: set permissions
1 parent f88a72a commit 5218273

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,18 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11+
permissions:
12+
id-token: write
1113
steps:
1214
- name: Check out the repo
13-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1416

15-
- uses: actions/setup-node@v3
17+
- uses: actions/setup-node@v4
1618
with:
17-
node-version: "18"
19+
node-version: 24
20+
registry-url: 'https://registry.npmjs.org'
1821

1922
- name: Deploy to Juno
2023
uses: junobuild/juno-action@main
2124
with:
22-
args: deploy
23-
env:
24-
JUNO_TOKEN: ${{ secrets.JUNO_TOKEN }}
25+
args: hosting deploy

0 commit comments

Comments
 (0)