Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rcvalle committed Dec 27, 2024
0 parents commit d07aefc
Show file tree
Hide file tree
Showing 20 changed files with 1,818 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: build

on:
push:
branches: main

workflow_dispatch:

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1

- name: Setup Pages
uses: actions/configure-pages@v1

- name: Build
run: |
touch -a README.md
rm README.md
bundle install
bundle exec jekyll build
cp _site/README.md README.md
- name: Upload artifact
uses: actions/upload-pages-artifact@v1

- name: Commit
run: |
git config --global user.email "[email protected]"
git config --global user.name "Ramon de C Valle"
git add -A
git commit -m "Auto commit changes" || true
git push origin main
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

name: Deploy
needs: build

permissions:
id-token: write
pages: write

runs-on: ubuntu-latest

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.bundle
.jekyll-cache
.sass-cache
Gemfile.lock
_site
vendor
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source 'https://rubygems.org'
gem 'jekyll'
Loading

0 comments on commit d07aefc

Please sign in to comment.