mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-05-23 18:25:34 +00:00
Fixes publish records script
This commit is contained in:
@@ -8,7 +8,7 @@ jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CI: '1'
|
||||
CI: 1
|
||||
ENV: production
|
||||
DOMAIN_USER: ${{ secrets.DOMAIN_USER }}
|
||||
DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }}
|
||||
@@ -23,4 +23,4 @@ jobs:
|
||||
- name: Publishing records
|
||||
uses: borales/actions-yarn@v2.0.0
|
||||
with:
|
||||
cmd: publish-records
|
||||
cmd: publish-records:ci
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"description": "Register *.is-a.dev domains for free",
|
||||
"scripts": {
|
||||
"test": "ENV=test jest",
|
||||
"publish-records": "yarn test && node ./scripts/register-domains.js"
|
||||
"publish-records:ci": "ENV=test yarn test && ENV=production node ./scripts/register-domains.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user