Skip to content

Update keys

Update keys #8995

Workflow file for this run

name: Update keys
on:
schedule:
- cron: '13,43 * * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Fetch the new E4 key
run: curl "https://e4-key.themoviearchive5408.workers.dev/" > $GITHUB_WORKSPACE/e4.json
- name: Fetch the new key
run: curl "https://raw.githubusercontent.com/Ciarands/vidsrc-keys/main/keys.json" > $GITHUB_WORKSPACE/vidplay.json
- name: Commit report
run: |
git config --global user.name 'BlackVid'
git config --global user.email '[email protected]'
if git commit -am "Updated keys"; then
git push
else
echo No changes
fi