chore: remove unused workflows

This commit is contained in:
Edoardo Rosa 2023-11-26 20:28:32 +01:00
parent 925f542732
commit 64a53a5a74
No known key found for this signature in database
GPG key ID: 2AF1937D15CB28F6
5 changed files with 0 additions and 211 deletions

View file

@ -1,47 +0,0 @@
# name: Build Theme
# on: [pull_request_target]
# jobs:
# build:
# runs-on: ubuntu-latest
# if: ${{ github.actor == 'dependabot[bot]' }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# ref: "${{ github.head_ref }}"
# - name: Install dependencies and Build Theme
# uses: actions/setup-node@v4
# - run: npm install
# - run: npm run assets
# - name: Commit and push Chart.js changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# branch: "${{ github.head_ref }}"
# push_options: "--dry-run"
# file_pattern: "assets/lib/chart/*"
# commit_message: "📦 Update packaged ChartJS"
# - name: Commit Fuse changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# branch: "${{ github.head_ref }}"
# push_options: "--dry-run"
# file_pattern: "assets/lib/fuse/*"
# commit_message: "📦 Update packaged FuseJS"
# - name: Commit KaTeX changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# branch: "${{ github.head_ref }}"
# push_options: "--dry-run"
# file_pattern: "assets/lib/katex/*"
# commit_message: "📦 Update packaged KaTeX"
# - run: npm run build
# - name: Commit CSS changes
# uses: stefanzweifel/git-auto-commit-action@v5
# with:
# branch: "${{ github.head_ref }}"
# push_options: "--dry-run"
# file_pattern: "assets/css/compiled/main.css"
# commit_message: "💄 Rebuild CSS"
# - run: git push

View file

@ -1,35 +0,0 @@
# name: Deploy Preview to Firebase
# 'on': pull_request
# jobs:
# build_and_preview:
# if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
# runs-on: ubuntu-latest
# steps:
# - name: Hugo setup
# uses: peaceiris/actions-hugo@v2.6.0
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
# - name: Check out code into the Go module directory
# uses: actions/checkout@v4
# with:
# submodules: true # Fetch Hugo themes (true OR recursive)
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# - name: Build with Hugo
# env:
# # For maximum backward compatibility with Hugo modules
# HUGO_ENVIRONMENT: production
# HUGO_ENV: production
# run: |
# hugo -E -F --minify -s exampleSite --themesDir ../.. -d ../public --baseURL https://blowfish.page
# - name: Deploy preview
# uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLOWFISH_21FFF }}'
# expires: 30d
# channelId: preview-${{ github.event.number }}
# projectId: blowfish-21fff

View file

@ -1,36 +0,0 @@
# name: Deploy Production to Firebase
# 'on':
# push:
# branches:
# - main
# jobs:
# build_and_deploy:
# runs-on: ubuntu-latest
# steps:
# - name: Hugo setup
# uses: peaceiris/actions-hugo@v2.6.0
# env:
# ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
# - name: Check out code into the Go module directory
# uses: actions/checkout@v4
# with:
# submodules: true # Fetch Hugo themes (true OR recursive)
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# - name: Build with Hugo
# env:
# # For maximum backward compatibility with Hugo modules
# HUGO_ENVIRONMENT: production
# HUGO_ENV: production
# run: |
# hugo -E -F --minify -s exampleSite --themesDir ../.. -d ../public --baseURL https://blowfish.page
# - name: Deploy Production
# uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_BLOWFISH_21FFF }}'
# channelId: live
# projectId: blowfish-21fff

View file

@ -1,68 +0,0 @@
# # Sample workflow for building and deploying a Hugo site to GitHub Pages
# name: Blowfish Docs Deploy
# on:
# # Runs on pushes targeting the default branch
# push:
# branches: ["main"]
# # Allows you to run this workflow manually from the Actions tab
# workflow_dispatch:
# # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
# permissions:
# contents: read
# pages: write
# id-token: write
# # Allow one concurrent deployment
# concurrency:
# group: "pages"
# cancel-in-progress: true
# # Default to bash
# defaults:
# run:
# shell: bash
# jobs:
# # Build job
# build:
# runs-on: ubuntu-latest
# env:
# HUGO_VERSION: 0.102.3
# steps:
# - name: Install Hugo CLI
# run: |
# wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.deb \
# && sudo dpkg -i ${{ runner.temp }}/hugo.deb
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Setup Pages
# id: pages
# uses: actions/configure-pages@v3
# - name: Build with Hugo
# env:
# # For maximum backward compatibility with Hugo modules
# HUGO_ENVIRONMENT: production
# HUGO_ENV: production
# run: |
# hugo --minify -s exampleSite --themesDir ../.. -d ../docs --baseURL https://nunocoracao.github.io/blowfish/
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# path: ./docs
# # Deployment job
# deploy:
# environment:
# name: github-pages
# url: https://nunocoracao.github.io/blowfish/
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v2

View file

@ -1,25 +0,0 @@
# name: Test Build
# on: [push]
# jobs:
# build:
# name: Build Example Site
# runs-on: ubuntu-latest
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# with:
# submodules: true
# fetch-depth: 0
# - name: Setup Hugo
# uses: peaceiris/actions-hugo@v2.6.0
# with:
# hugo-version: "latest"
# - name: Build
# working-directory: ./exampleSite
# run: hugo --minify --themesDir ../.. --baseURL https://nunocoracao.github.io/blowfish/