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:
|
||||
push:
|
||||
branches:
|
||||
- master # Set a branch name to trigger deployment
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- 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
|
||||
with:
|
||||
ocaml-compiler: '5.03'
|
||||
|
|
@ -39,5 +33,5 @@ jobs:
|
|||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./_build/default/_doc/_html/
|
||||
destination_dir: dev
|
||||
enable_jekyll: true
|
||||
destination_dir: .
|
||||
enable_jekyll: false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue