File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # pull_request and push event is supported.
2+ # This action also works for pull_request_target event, but should not be used in public repositories.
3+ # Please read https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ before using this action with pull_request_target event.
4+ on :
5+ pull_request :
6+ push :
7+ branches :
8+ - master
9+
10+ # contents: write is required for deploying the GitHub Pages if using the default GITHUB_TOKEN
11+ # pull-requests: write is required if you want to comment the preview page url to the pull request
12+ permissions :
13+ pull-requests : write
14+ contents : write
15+
16+ # recommended to set a concurrency group
17+ concurrency :
18+ group : preview-pages-${{ github.ref }}
19+ cancel-in-progress : true
20+
21+ jobs :
22+ run :
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v3
26+
27+ # run some build steps here and export the result to a directory
28+
29+ - name : Preview Pages
30+ uses : rajyan/preview-pages@v1
31+ with :
32+ source-dir : test
You can’t perform that action at this time.
0 commit comments