add github actions workflow to publish the website

This commit is contained in:
ading2210 2025-01-27 01:16:58 -05:00
parent 5ab6ed30a2
commit 3a2ab40e75
2 changed files with 21 additions and 0 deletions

20
.github/workflows/website.yaml vendored Normal file
View file

@ -0,0 +1,20 @@
on: [push]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: b8079ffa92c97010f2a8d759e24cc782
projectName: libcurl
directory: website

View file

@ -304,6 +304,7 @@ For a full list of server arguments, see the [wisp-server-python documentation](
- `wisp_client` - A submodule for the Wisp client library.
- `server` - Contains all the server-side code for running the websocket proxy server.
- `wisp_server` - A submodule for the Python Wisp server.
- `server` - Contains the HTML source for the project's main website.
## Copyright:
This project is licensed under the [GNU LGPL v3](https://www.gnu.org/licenses/lgpl-3.0.html).