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- # This is a basic workflow to help you get started with Actions
2-
31name : CI
42
5- # Controls when the workflow will run
3+ # Run workflow on adding code to master branch
64on :
7- # Triggers the workflow on push or pull request events but only for the "master" branch
85 push :
96 branches : [ "master" ]
107 pull_request :
118 branches : [ "master" ]
129
13- # Allows you to run this workflow manually from the Actions tab
10+ # Allows to run this workflow manually from the Actions tab
1411 workflow_dispatch :
1512
1613permissions :
@@ -21,20 +18,17 @@ permissions:
2118jobs :
2219 # Build static files
2320 build :
24- # The type of runner that the job will run on
2521 runs-on : ubuntu-latest
2622
27- # Steps represent a sequence of tasks that will be executed as part of the job
2823 steps :
29- # Checks- out your repository under $GITHUB_WORKSPACE, so your job can access it
24+ # Checks out repository under $GITHUB_WORKSPACE, so the job can access it
3025 - uses : actions/checkout@v4
3126 - uses : ruby/setup-ruby@v1
3227 with :
3328 ruby-version : ' 3.4'
3429 bundler-cache : true # runs 'bundle install' and caches installed gems automatically
3530 - run : bundle install
3631
37- # Runs a set of commands using the runners shell
3832 - name : Build site with middleman
3933 run : |
4034 bundle exec middleman build
You can’t perform that action at this time.
0 commit comments