diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..c310bbb --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -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"