不需要你啦,GitHub Actions

This commit is contained in:
shenjack 2024-04-20 22:17:16 +08:00
parent 7394146e6a
commit 7f96a37934
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -1,25 +0,0 @@
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Run deploy script
run: python3 deploy.py
- name: Commit and push changes
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git add .
git commit -m "Deploy changes"
git push --force origin HEAD:deploy