Merge branch 'production' of https://gitea.miduway.space/levis/help365 into production
Some checks failed
Deploy Static Site / deploy (push) Failing after 17s
Some checks failed
Deploy Static Site / deploy (push) Failing after 17s
This commit is contained in:
18
.gitea/workflows/deploy.yml
Normal file
18
.gitea/workflows/deploy.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
name: Deploy Static Site
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
token: 0406afe7de6547e850dd62c84976c6def23a5193
|
||||||
|
|
||||||
|
- name: Upload files via HTTPS API
|
||||||
|
run: |
|
||||||
|
curl -X PUT \
|
||||||
|
-H "Authorization: token 0406afe7de6547e850dd62c84976c6def23a5193" \
|
||||||
|
-T ./index.html \
|
||||||
|
"https://gitea.miduway.space/api/v1/repos/levis/help365/raw/help.miduway.space/index.html"
|
Reference in New Issue
Block a user