ci: Correct step names

This commit is contained in:
oSumAtrIX 2023-10-29 22:48:09 +01:00
parent 40cfd1150e
commit a945d75023
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -1,4 +1,4 @@
name: Update static API
name: Update static files
on:
repository_dispatch:
@ -6,7 +6,7 @@ on:
jobs:
update:
name: Update static API
name: Update static files
runs-on: ubuntu-latest
steps:
- name: Clone repository
@ -19,10 +19,10 @@ jobs:
with:
python-version: 3.11.3
- name: Create configuration file
- name: Write config file
run: echo "${{ vars.CONFIG }}" > config.json
- name: Check for existing deployment exists
- name: Check if a deployment exists
run: |
if git ls-remote --exit-code --heads origin gh-pages; then
echo "::set-output name=deployment-exists::true"
@ -38,7 +38,7 @@ jobs:
git config user.email github@revanced.app
git subtree add --prefix=static/ origin/gh-pages --squash
- name: Update static API
- name: Update static files
run: |
pip install requests
python src/main.py
@ -46,7 +46,7 @@ jobs:
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "chore: updated static files"
message: "chore: Update static files"
fetch: false
push: false