mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-12 05:50:01 -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
|
Loading…
Add table
Add a link
Reference in a new issue