Skip to content

Commit

Permalink
[no-log] aggiornamenti vari
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaCovelli authored Jan 7, 2025
1 parent 194e34b commit 5d1fe21
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build and Deploy GitHub Pages

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Cache Repository
uses: actions/cache@v3
with:
path: |
./*
!./PRIMO ANNO
!./SECONDO ANNO
!./TERZO ANNO
key: ${{ runner.os }}-repo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-repo-
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true

- name: Cache Ruby Gems
uses: actions/cache@v3
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
Binary file not shown.

0 comments on commit 5d1fe21

Please sign in to comment.