mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 17:30:42 -05:00
- Replaces the Gitea workflows with Github workflows. - Adds a Github issue template. (The reason this is being done directly on master is because it's the branch that the issue templates load from.)
24 lines
513 B
YAML
24 lines
513 B
YAML
name: Clear Item DB Website Cache
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
clear-cache:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- id: filter
|
|
uses: dorny/paths-filter@v3.0.2
|
|
with:
|
|
list-files: shell
|
|
filters: |
|
|
database:
|
|
- 'project/assets/database/**'
|
|
|
|
- name: Send Refresh Request
|
|
if: steps.filter.outputs.database == 'true'
|
|
run: curl --max-time 30 https://db.sp-tarkov.com/api/refresh
|