mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-17 04:15:17 +00:00
update raw api
This commit is contained in:
1 parent
475569187c
commit
dfd892c220
5 files changed
+5
-5
No files matched your search
@@ -0,0 +1,35 @@
|
||||
name: Raw API
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
update:
|
||||
name: Update
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 16
|
||||
|
||||
- name: Run Script
|
||||
run: |
|
||||
node scripts/raw-api.js
|
||||
|
||||
- name: Push Data
|
||||
uses: cpina/github-action-push-to-another-repository@main
|
||||
with:
|
||||
source-directory: "raw-api"
|
||||
destination-github-username: free-domains
|
||||
destination-repository-name: raw-api
|
||||
user-email: actions@github.com
|
||||
user-name: github-actions
|
||||
commit-message: "Update Data via free-domains/register"
|
||||
env:
|
||||
API_TOKEN_GITHUB: ${{ secrets.PAT_TOKEN }}
|
||||
Reference in new issue
Block a user