-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 802 Bytes
/
Copy pathdeploy.yml
File metadata and controls
35 lines (30 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: deploy to anjos.github.io
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build
uses: prefix-dev/setup-pixi@v0.9.5
with:
pixi-version: v0.69.0
cache: true
- run: pixi run gh-action
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: anjos/anjos.github.io
publish_dir: ./output
publish_branch: main
cname: anjos.ai