From b5bd1257c572a82cc3026b30a3addc07a9f988ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fa=CC=81bio=20Madeira?= Date: Tue, 11 May 2021 12:23:47 +0100 Subject: [PATCH] Building and deploying with Github Actions --- .github/workflows/jekyll_build.yml | 16 ++++++++++++++++ .travis.yml | 22 ---------------------- 2 files changed, 16 insertions(+), 22 deletions(-) create mode 100644 .github/workflows/jekyll_build.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/jekyll_build.yml b/.github/workflows/jekyll_build.yml new file mode 100644 index 000000000..3825f3fb8 --- /dev/null +++ b/.github/workflows/jekyll_build.yml @@ -0,0 +1,16 @@ +name: Build and deploy to GitHub Pages + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + github-pages: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: helaili/jekyll-action@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 94e21fb25..000000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -sudo: false -language: ruby -cache: bundler -rvm: -- 2.4.2 - -install: - # Install Jekyll and dependencies - - bundle install - -script: bundle exec rake site:deploy --quiet #--trace - -# Generate your secure token with the travis gem: -# get Github token from your Travis CI profile page -# gem install travis -# GH_TOKEN from https://github.com/settings/tokens -# travis encrypt 'GIT_NAME="YOUR_USERNAME" GIT_EMAIL="YOUR_EMAIL" GH_TOKEN=YOUR_TOKEN' -env: - global: - secure: "CJRi1Fsnpgdj3ltTcD9zQawqFMewgiqdrVx7Cx3w5cxzRJn/NGZYlLPSl+s7ednuMoJZPCqpGbArxkaRpXl86BJITF2ie/buVtQ+pGTiXEDRBAofgXK4RWzrMXm9jl2CNoJZ6KB/kHAQBYqngjzRhHnSqP9ynZzcSjzpM4IWe0EmXJjfSVQjTjF+ey2UeQ8xovmz+WpXPGz4q19Upu0gy44w9Z3s/hfoQLtfWnAd+wGEv/D4UXWrGioG3pX+z+y1eHFMVJztZN+Pca6SQyuYEisprzqc4npzBl/sZYiEuQbRiDyGrDxWDiz4hgoblQ0O0MsRVWMuWyGJqCEGDLO8QsCwCCfEY6YoL2oA+XyvalDL8mP9LaRIoqILHu90V70tV0GWm9aSIu8hjAf8n/AwsVebNRA5oZewTOn/fa6yRPIQxJ/lcWsBwIXTDPBYprqPHSs4gnU6CH8xLHoGS66f2Uw5k4ZcVhUTHbG5bfG5TePp4rv/4H/3boboUzlZAkVQeQHHSJm5ak0rmbkh4WpMDXJUpGcQf8foVHPQsKqsVoLyGQ8yy1ehRbjsqd3nuR/J/7C++nQH0AtKoSDQasL6uVzoToRbEZr2+aHcY7wQMP+3gyy/C+DcfhZ4gHLb1rAw1kGglpF9NxFeDp5Sonk7clX1lD6ybmE4XvSXorbTlX0=" - only: - - master