Skip to content

Commit e97155b

Browse files
author
Netdocs
committed
ci: temporary deploy-test to validate full action+peaceiris chain
1 parent a022fb8 commit e97155b

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: TMP Deploy Test
2+
3+
# Temporary: mirrors the Web dev.yaml chain (action build -> peaceiris deploy to an
4+
# orphan branch) in this observable repo to validate the full pipeline. Delete after.
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches: [main]
9+
paths:
10+
- ".github/workflows/_tmp-deploy-test.yml"
11+
12+
permissions:
13+
contents: write
14+
15+
jobs:
16+
tmp-deploy:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Build via Netdocs action
25+
uses: ./
26+
with:
27+
command: build
28+
config: docs-site/appsettings.json
29+
30+
- name: Deploy to throwaway branch
31+
uses: peaceiris/actions-gh-pages@v4
32+
with:
33+
github_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./docs-site/site
35+
publish_branch: _selftest-pages
36+
force_orphan: true

0 commit comments

Comments
 (0)