mirror of
https://github.com/jakejarvis/hugo-extended.git
synced 2025-04-26 13:28:28 -04:00
CI: limit npm publish to our repo
This commit is contained in:
parent
ad4cb8b4b4
commit
825397ea71
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -88,14 +88,15 @@ jobs:
|
||||
run: npm run uvu
|
||||
|
||||
publish:
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
if: github.repository == 'fenneclab/hugo-bin' && startsWith(github.ref, 'refs/tags/')
|
||||
needs: [lint, test, test-extended]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v2
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
Loading…
x
Reference in New Issue
Block a user