mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-18 18:15:27 +00:00
Fixes publish records script
This commit is contained in:
1 parent
ccfb92898c
commit
67fa454e0a
2 files changed
+3
-3
No files matched your search
@@ -8,7 +8,7 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
CI: '1'
|
CI: 1
|
||||||
ENV: production
|
ENV: production
|
||||||
DOMAIN_USER: ${{ secrets.DOMAIN_USER }}
|
DOMAIN_USER: ${{ secrets.DOMAIN_USER }}
|
||||||
DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }}
|
DOMAIN_API_KEY: ${{ secrets.DOMAIN_API_KEY }}
|
||||||
@@ -23,4 +23,4 @@ jobs:
|
|||||||
- name: Publishing records
|
- name: Publishing records
|
||||||
uses: borales/actions-yarn@v2.0.0
|
uses: borales/actions-yarn@v2.0.0
|
||||||
with:
|
with:
|
||||||
cmd: publish-records
|
cmd: publish-records:ci
|
||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
"description": "Register *.is-a.dev domains for free",
|
"description": "Register *.is-a.dev domains for free",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "ENV=test jest",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in new issue
Block a user