mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-10 21:10:02 -04:00
add github actions workflow to publish the website
This commit is contained in:
parent
5ab6ed30a2
commit
3a2ab40e75
2 changed files with 21 additions and 0 deletions
20
.github/workflows/website.yaml
vendored
Normal file
20
.github/workflows/website.yaml
vendored
Normal 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
|
|
@ -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).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue