update
This commit is contained in:
2
.github/workflows/depley.yaml
vendored
2
.github/workflows/depley.yaml
vendored
@@ -16,7 +16,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
host: ${{ secrets.HOST }}
|
host: ${{ secrets.HOST }}
|
||||||
username: root
|
username: root
|
||||||
key: ${{ secrets.Key }}
|
key: ${{ secrets.KEY }}
|
||||||
script: |
|
script: |
|
||||||
cd ~/WebPreview/api
|
cd ~/WebPreview/api
|
||||||
git pull
|
git pull
|
||||||
|
|||||||
@@ -12,5 +12,6 @@ class Tutorial(TimeStampedModel):
|
|||||||
return self.title
|
return self.title
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
ordering = ("display",)
|
||||||
verbose_name = "教程"
|
verbose_name = "教程"
|
||||||
verbose_name_plural = verbose_name
|
verbose_name_plural = verbose_name
|
||||||
|
|||||||
Reference in New Issue
Block a user