Skip to content

Commit 69c63af

Browse files
committed
wip: try creating a GitHub Actions workflow file
1 parent 2e698ff commit 69c63af

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/branch-preview.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy Pull Request to GitHub Pages
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
jobs:
11+
build-and-deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout doc-ja
15+
uses: actions/checkout@v4
16+
with:
17+
path: doc-ja
18+
19+
- name: Checkout phd
20+
uses: actions/checkout@v4
21+
with:
22+
repository: phd/phd
23+
path: phd
24+
25+
- name: Set up PHP
26+
uses: shivammathur/setup-php@v2
27+
with:
28+
php-version: '8.3'
29+

0 commit comments

Comments
 (0)