-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (29 loc) · 944 Bytes
/
release.yml
File metadata and controls
35 lines (29 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: Release
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: production
cancel-in-progress: false
jobs:
release:
runs-on: ubuntu-latest
environment:
name: production
url: https://js.icp.build
steps:
- name: Checkout Code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./.github/actions/setup-deno
- name: Deploy Docs to Juno satellite
env:
JUNO_TOKEN: ${{ secrets.JUNO_TOKEN }}
run: deno task juno hosting deploy --mode production --immediate --batch 50 --prune
- name: Update Juno satellite config
env:
# The identity corresponding to this token must be an Administrator of the satellite
# in order to have permissions to apply the config
JUNO_TOKEN: ${{ secrets.JUNO_TOKEN }}
run: deno task juno config apply --force --mode production