-
Notifications
You must be signed in to change notification settings - Fork 235
31 lines (26 loc) · 1 KB
/
release.yml
File metadata and controls
31 lines (26 loc) · 1 KB
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
name: Create npm and GitHub Release
on:
pull_request:
types:
- closed
workflow_dispatch:
permissions:
contents: write
id-token: write # For publishing to npm using --provenance
pages: write # For publishing documentation
### TODO: Replace instances of './.github/workflows/' w/ `auth0/dx-sdk-actions/workflows/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### TODO: Also remove `get-prerelease`, `get-release-notes`, `get-version`, `npm-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
### TODO: Also remove `npm-release` workflow from this repo's .github/workflows folder once the repo is public.
jobs:
release:
uses: ./.github/workflows/npm-release.yml
secrets:
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-docs:
needs: release
if: success()
uses: ./.github/workflows/publish-docs.yml
permissions:
contents: write
pages: write
id-token: write