mirror of
https://github.com/tiennm99/open-domains.git
synced 2026-10-12 16:15:29 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
48 lines
1.2 KiB
YAML
48 lines
1.2 KiB
YAML
name: Raw API
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "domains/*"
|
|
- ".github/workflows/raw-api.yml"
|
|
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.ref }}-raw-api
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
update:
|
|
name: Update
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: actions/checkout@v6
|
|
with:
|
|
repository: open-domains/raw
|
|
path: raw
|
|
token: ${{ secrets.BOT }}
|
|
|
|
- uses: actions/setup-node@v5
|
|
with:
|
|
node-version: latest
|
|
|
|
- name: Update Data
|
|
run: node raw/scripts/update.js
|
|
|
|
- name: Commit
|
|
uses: cpina/github-action-push-to-another-repository@main
|
|
with:
|
|
source-directory: "raw"
|
|
destination-github-username: open-domains
|
|
destination-repository-name: raw
|
|
user-email: open-domains@win11react.com
|
|
user-name: OD-BOT
|
|
commit-message: "Update Data via open-domains/register"
|
|
env:
|
|
API_TOKEN_GITHUB: ${{ secrets.BOT }}
|