SideBar组件增加拖拽排序功能,排序后更新数据库 (#217) #316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Backup Main Branch | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
backup: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main branch | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Archive main branch as tar.gz | |
run: | | |
tar -czf main_backup_$(date +"%Y%m%d").tar.gz * | |
working-directory: ${{ github.workspace }} | |
- name: Upload backup to Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: backup | |
path: ${{ github.workspace }}/*.tar.gz | |
- name: Set up Git | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "mgz0227" |