fork/wezterm

git clone https://git.julia.blue/fork/wezterm

Wez Furlongci: re-enable cron for workflows57fae2f9f

termwiz-0.23.0
1.5 KiB68 linesraw
1name: pages
2
3on:
4  push:
5    branches:
6      - main
7    paths:
8      - "docs/**"
9      - "ci/build-docs.sh"
10      - "ci/generate-docs.py"
11      - "ci/subst-release-info.py"
12      - ".github/workflows/pages.yml"
13  schedule:
14    - cron: "50 * * * *"
15
16  # Allows you to run this workflow manually from the Actions tab
17  workflow_dispatch:
18
19# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
20permissions:
21  contents: read
22  pages: write
23  id-token: write
24  actions: read
25
26concurrency:
27  group: "pages"
28
29jobs:
30  build:
31    runs-on: ubuntu-latest
32    steps:
33      - name: Checkout
34        uses: actions/checkout@v3
35      - name: "Install Rust"
36        uses: dtolnay/rust-toolchain@stable
37      - name: Install gelatyx
38        uses: baptiste0928/cargo-install@v2
39        with:
40          crate: gelatyx
41      - uses: actions/setup-python@v5
42        with:
43          python-version: 3.x
44      - uses: actions/cache@v4
45        with:
46          key: ${{ github.ref }}
47          path: .cache
48      - name: Build
49        env:
50          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51        run: |
52          source $HOME/.cargo/env
53          CARDS=true ./ci/build-docs.sh
54      - name: Upload artifact
55        uses: actions/upload-pages-artifact@v3
56        with:
57          path: gh_pages
58
59  deploy:
60    environment:
61      name: github-pages
62      url: ${{ steps.deployment.outputs.page_url }}
63    runs-on: ubuntu-latest
64    needs: build
65    steps:
66      - name: Deploy
67        id: deployment
68        uses: actions/deploy-pages@v4