File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 22
22
uses : actions/checkout@v4
23
23
- name : Setup Pages
24
24
uses : actions/configure-pages@v5
25
+ - name : Remove test page
26
+ run : rm -f -v website/test.md
27
+ shell : bash
25
28
- name : Generate with _just
26
29
uses : js-just/_just@main
27
30
with :
Original file line number Diff line number Diff line change
1
+ name : Test website
2
+
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ workflow_dispatch :
7
+
8
+ concurrency :
9
+ group : ${{ github.ref }}-test-website
10
+ cancel-in-progress : true
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout
17
+ uses : actions/checkout@v4
18
+ - name : Generate with _just
19
+ uses : js-just/_just@main
20
+ with :
21
+ path : website
22
+ commit :
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - uses : actions/setup-node@v4
27
+ - name : Commit
28
+ uses : cpina/github-action-push-to-another-repository@main
29
+ with :
30
+ source-directory : " website"
31
+ destination-github-username : js-just
32
+ destination-repository-name : test
33
+
34
+ user-name : " GitHub Actions"
35
+ env :
36
+ API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
You can’t perform that action at this time.
0 commit comments