Update distrosFeed.yml
This commit is contained in:
parent
6d59b1a47a
commit
fed92d1bfa
|
|
@ -9,6 +9,9 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 */6 * * *'
|
- cron: '0 */6 * * *'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get:
|
get:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -18,6 +21,11 @@ jobs:
|
||||||
- name: Get latest ISOs links
|
- name: Get latest ISOs links
|
||||||
run: curl -s https://distrowatch.com | grep 'News".*\.iso' | cut -d '"' -f6 | tee -a ISOs.list
|
run: curl -s https://distrowatch.com | grep 'News".*\.iso' | cut -d '"' -f6 | tee -a ISOs.list
|
||||||
|
|
||||||
|
- name: "Git Config"
|
||||||
|
run: |
|
||||||
|
git config --global user.name "${{ github.repository_owner }}"
|
||||||
|
git config --global user.email "noreply@github.com"
|
||||||
|
|
||||||
- name: Update list
|
- name: Update list
|
||||||
run: |
|
run: |
|
||||||
git add ISOs.list
|
git add ISOs.list
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue