Add '.gitea/workflows/GiteaPages.yaml'
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-06-06 17:53:23 -09:00
parent def030367e
commit 313c40fd17
+11
View File
@@ -0,0 +1,11 @@
name: Gitea Pages
run-name: Gitea Pages
on: [push]
jobs:
Gitea-Pages:
runs-on: ubuntu-latest
steps:
- run: 'curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"repo\": \"${{ gitea.repository }}\",\"branch\": \"main\"}" http://192.168.0.201:11003/pages'
- run: 'curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"repo\": \"${{ gitea.repository }}\",\"branch\": \"master\"}" http://192.168.0.201:11003/pages'
- run: 'curl -i -H "Accept: application/json" -H "Content-Type:application/json" -X POST --data "{\"repo\": \"${{ gitea.repository }}\"}" http://192.168.0.201:11003/changerepourl'