Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Commit

Permalink
fix: adjust workflow config
Browse files Browse the repository at this point in the history
  • Loading branch information
David Pike committed May 28, 2021
1 parent 648faa3 commit f8f2c69
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.INLIGHT_WRITE_PACKAGES_GITHUB_TOKEN }}
GITHUB_OAUTH_TOKEN: ${{ secrets.INLIGHT_WRITE_PACKAGES_GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -20,8 +23,5 @@ jobs:
- name: Run build
run: npm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.INLIGHT_WRITE_PACKAGES_GITHUB_TOKEN }}
GITHUB_OAUTH_TOKEN: ${{ secrets.INLIGHT_WRITE_PACKAGES_GITHUB_TOKEN }}
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/next'
run: npx semantic-release
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@
"version": "0.1.13",
"description": "Useful tools for DatoCMS",
"main": "dist/lib.min.js",
"repository": {
"type": "git",
"url": "https://github.com/inlight-media/datocms-tools.git"
},
"repository": "github:inlight-media/datocms-tools",
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
Expand Down

0 comments on commit f8f2c69

Please sign in to comment.