mirror of
https://github.com/c-cube/ezcurl.git
synced 2026-01-21 08:46:44 -05:00
CI: try to fix gh-pages
This commit is contained in:
parent
e8e6e621bc
commit
2c756473dd
1 changed files with 5 additions and 11 deletions
16
.github/workflows/gh-pages.yml
vendored
16
.github/workflows/gh-pages.yml
vendored
|
|
@ -3,21 +3,15 @@ name: github pages
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master # Set a branch name to trigger deployment
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@main
|
- uses: actions/checkout@main
|
||||||
|
|
||||||
- name: Cache opam
|
|
||||||
id: cache-opam
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.opam
|
|
||||||
key: opam-ubuntu-latest-4.12.0
|
|
||||||
|
|
||||||
- uses: ocaml/setup-ocaml@v3
|
- uses: ocaml/setup-ocaml@v3
|
||||||
with:
|
with:
|
||||||
ocaml-compiler: '5.03'
|
ocaml-compiler: '5.03'
|
||||||
|
|
@ -39,5 +33,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./_build/default/_doc/_html/
|
publish_dir: ./_build/default/_doc/_html/
|
||||||
destination_dir: dev
|
destination_dir: .
|
||||||
enable_jekyll: true
|
enable_jekyll: false
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue