Skip to content

Commit

Permalink
ci: add YALESITES_BUILD_TOKEN to semantic release action
Browse files Browse the repository at this point in the history
  • Loading branch information
vinmassaro authored Oct 20, 2023
1 parent 5513986 commit d772d58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches: master
env:
GH_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
YALESITES_BUILD_TOKEN: ${{ secrets.YALESITES_BUILD_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,8 +16,6 @@ jobs:
uses: actions/setup-node@v3

- name: Install
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npm install

- name: Release
Expand Down
10 changes: 1 addition & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"files": [
"web/profiles/custom/yalesites_profile/yalesites_profile.info.yml"
],
"from": "version: .*",
"from": "#version:",
"to": "version: ${nextRelease.version}",
"results": [
{
Expand All @@ -76,14 +76,6 @@
]
}
],
[
"@semantic-release/git",
{
"assets": [
"web/profiles/custom/yalesites_profile/yalesites_profile.info.yml"
]
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: YaleSites Profile
type: profile
version: 1.0
#version:
description: 'Install profile for managing YaleSites platform sites.'
core_version_requirement: '^9 || ^10'

Expand Down

0 comments on commit d772d58

Please sign in to comment.