mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-17 00:14:59 +00:00
feat: combine steps
This commit is contained in:
1 parent
42faf07377
commit
d236a31ccd
1 file changed
+7
-9
@@ -24,18 +24,16 @@ jobs:
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- run: mkdir raw-api
|
||||
- name: Create raw-api Directory
|
||||
run: |
|
||||
mkdir raw-api
|
||||
echo "raw.freesubdomains.org" > ./raw-api/CNAME
|
||||
echo "" > ./raw-api/index.json
|
||||
|
||||
- name: Create CNAME
|
||||
run: echo "raw.freesubdomains.org" > ./raw-api/CNAME
|
||||
|
||||
- name: Create index.json
|
||||
run: echo "" > ./raw-api/index.json
|
||||
|
||||
- name: Run Script
|
||||
- name: Execute Script
|
||||
run: node scripts/raw-api.js
|
||||
|
||||
- name: Push
|
||||
- name: Commit
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
with:
|
||||
source-directory: "raw-api"
|
||||
|
||||
Reference in new issue
Block a user