File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : Publish
4+
5+ # Controls when the workflow will run
6+ on :
7+ # Triggers the workflow on push or pull request events but only for the "main" branch
8+ push :
9+ branches : [ "main" ]
10+
11+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
12+ jobs :
13+ # This workflow contains a single job called "build"
14+ publish :
15+ # The type of runner that the job will run on
16+ runs-on : ubuntu-latest
17+
18+ # Steps represent a sequence of tasks that will be executed as part of the job
19+ steps :
20+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21+ - uses : actions/checkout@v3
22+
23+ # Runs a single command using the runners shell
24+ - name : Setup directory
25+ run : |
26+ mkdir -p public
27+ cp install/install-ibm-toolkit.sh public/install.sh
28+ cp install/install-ibm-toolkit.sh public/install.html
29+
30+ - name : Deploy
31+ uses : peaceiris/actions-gh-pages@v3
32+ with :
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
34+ publish_dir : ./public
35+ cname : get.cloudnativetoolkit.dev
You can’t perform that action at this time.
0 commit comments