mirror of
https://github.com/revanced/revanced-static-api.git
synced 2025-04-29 22:24:37 +02:00
ci: Correct step names
This commit is contained in:
parent
40cfd1150e
commit
a945d75023
12
.github/workflows/update.yml
vendored
12
.github/workflows/update.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user