From a7c6f45bcab5dae2d73fb4adb08cb62d86bff397 Mon Sep 17 00:00:00 2001 From: felixfaisal <42486737+felixfaisal@users.noreply.github.com> Date: Tue, 2 Feb 2021 16:39:28 +0530 Subject: [PATCH] Github Actions file for Jekyll build (#22) * Create blank.yml * Update blank.yml * Update blank.yml * Update blank.yml * Update blank.yml * Update blank.yml * Update blank.yml * Update blank.yml * Separated out Ruby build * Separated out check for configuration * Delete blank.yml Removing orginal actions draft * Draft for actions of data files * data files actions * Update checkData.yml * Update checkData.yml * Updating for education data * Updating for experience data * Updating for project data * Update checkData.yml * Update checkData.yml * Delete checkConfig.yml * Delete checkData.yml --- .github/workflows/jekyllBuild.yml | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/jekyllBuild.yml diff --git a/.github/workflows/jekyllBuild.yml b/.github/workflows/jekyllBuild.yml new file mode 100644 index 0000000..9c39b59 --- /dev/null +++ b/.github/workflows/jekyllBuild.yml @@ -0,0 +1,34 @@ + + +name: Build Jekyll + +on: + # Triggers the workflow on push or pull request events but only for the master branch + push: + branches: [ master ] + pull_request: + branches: [ master ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v2 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: 2.6 + - name: Install dependencies + run: bundle install + - name: Build Jekyll + run: bundle exec jekyll build + +