mirror of
https://github.com/tiennm99/is-a-good-dev.git
synced 2026-09-20 04:23:27 +00:00
Update and rename addRecords.yml to update-records.yml
This commit is contained in:
1 parent
c75c8a7ac7
commit
c0761bec63
1 file changed
+5
-5
@@ -1,7 +1,7 @@
|
||||
name: Add DNS records
|
||||
name: Update Records
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
validation:
|
||||
@@ -13,17 +13,17 @@ jobs:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- name: Get changed files
|
||||
- name: Get Files
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v34
|
||||
with:
|
||||
files: |
|
||||
sub-logs/**
|
||||
reserved/**
|
||||
- name: Install modules
|
||||
- name: Install Modules
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
run: yarn
|
||||
- name: Add records
|
||||
- name: Publish Records
|
||||
if: steps.changed-files.outputs.any_changed == 'true'
|
||||
id: tests
|
||||
run: yarn add-records
|
||||
Reference in new issue
Block a user