mirror of
https://github.com/CHEF-KOCH/Warez
synced 2024-12-24 11:22:14 +00:00
.gitignore & .gitattributes
Workflows changes
This commit is contained in:
parent
d239a6e3a5
commit
99ff2bafcd
27
.gitattributes
vendored
Normal file
27
.gitattributes
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
# Linguist overrides
|
||||
# https://github.com/github/linguist
|
||||
# This is not a 100% HTML repo, it's an 100% Markdown repo and HTML is only a byproduct.
|
||||
*.md linguist-vendored=false
|
||||
*.md linguist-generated=false
|
||||
*.md linguist-documentation=false
|
||||
*.md linguist-detectable=true
|
||||
|
||||
Workaround for Git ignoring trailing whitespace in markdown files only
|
||||
**/*.md text whitespace=-cr-at-eol,-trailing-space
|
||||
|
||||
# Treat unknown files as binary and do NOT do line ending conversions
|
||||
* binary diff
|
||||
|
||||
# SPECFIC OVERRIDES
|
||||
LICENSE cleantext
|
||||
*.gitattributes cleantext
|
||||
*.gitignore cleantext
|
||||
*.gitmodules cleantext
|
||||
*.html cleantext diff=html
|
||||
*.markdown cleantext
|
||||
*.md cleantext
|
||||
*.yml cleantext
|
||||
*.gpg filter=gpg diff=gpg
|
||||
*.asc filter=gpg diff=gpg
|
||||
*.png binary
|
||||
*.jpg binary
|
35
.github/workflows/makepdfs.yml
vendored
35
.github/workflows/makepdfs.yml
vendored
@ -1,18 +1,29 @@
|
||||
# pdf.yml
|
||||
# https://github.com/marketplace/actions/create-pdf
|
||||
# https://github.com/mkrakowitzer/actions-makepdfs/
|
||||
# https://github.com/marketplace/actions/create-pdf-and-html
|
||||
on: [push]
|
||||
|
||||
name: CreatePDFs
|
||||
name: Docs to PDF
|
||||
# This workflow is triggered on pushes to the repository.
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
makepdfs:
|
||||
converttopdf:
|
||||
name: Build PDF
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: mkrakowitzer/actions-makepdfs@master
|
||||
if: github.ref == 'refs/heads/master'
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: platform-architecture-docs
|
||||
path: tmp
|
||||
- uses: actions/checkout@v2
|
||||
- uses: baileyjm02/markdown-to-pdf@master
|
||||
with:
|
||||
input_dir: ./
|
||||
output_dir: pdf
|
||||
#images_dir: docs/images
|
||||
# for example <img src="./images/file-name.png">
|
||||
#images_path: ./images
|
||||
# Default is true, can set to false to only get PDF files
|
||||
build_html: true
|
||||
- uses: actions/upload-artifact@v1
|
||||
with:
|
||||
name: docs
|
||||
path: pdfs
|
||||
|
36
.github/workflows/mirror.yml
vendored
36
.github/workflows/mirror.yml
vendored
@ -1,10 +1,30 @@
|
||||
# https://github.com/marketplace/actions/mirror-repository
|
||||
on: [push]
|
||||
...
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: spyoungtech/mirror-action@master
|
||||
with:
|
||||
REMOTE: 'https://gitlab.com/CHEF-KOCH/Warez.git'
|
||||
GIT_USERNAME: spyoungtech
|
||||
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
|
||||
|
||||
name: Mirror
|
||||
|
||||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- '**'
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
# The type of runner that the job will run on
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: mirror-repository
|
||||
uses: spyoungtech/mirror-action@spyoungtech-patch-1
|
||||
with:
|
||||
REMOTE: https://gitlab.com/CHEF-KOCH/Warez.git
|
||||
GIT_USERNAME: CHEF-KOCH
|
||||
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
|
||||
DEBUG: "true"
|
||||
PUSH_ALL_REFS: "false"
|
||||
|
48
.gitignore
vendored
Normal file
48
.gitignore
vendored
Normal file
@ -0,0 +1,48 @@
|
||||
# Cache files
|
||||
.temp/
|
||||
|
||||
# Exclude folders
|
||||
.devbots/**
|
||||
.github/eMail/**
|
||||
.github/workflows/**
|
||||
|
||||
# VSCode
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
*.code-workspace
|
||||
|
||||
# Local History for VS Code
|
||||
.history/
|
||||
|
||||
# VS
|
||||
!/.vs/
|
||||
/.vs/*
|
||||
!/.vs/ProjectSettings.json
|
||||
!/.vs/config/
|
||||
!/.vs/config/*
|
||||
|
||||
# Do not touch
|
||||
!.gitignore
|
||||
!.gitattributes
|
||||
!README.md
|
||||
!Android.md
|
||||
!Banned.md
|
||||
!Bulletproof Hosting.md
|
||||
!CODE_OF_CONDUCT.md
|
||||
!Cracking Groups.md
|
||||
!Extensions & Scripts.md
|
||||
!iOS.md
|
||||
!LICENSE
|
||||
!Offline.md
|
||||
!Open Source Hardware.md
|
||||
!Proxy.md
|
||||
!Scene Info.md
|
||||
!Soft-Ban.md
|
||||
!Telegram.md
|
||||
!Tools.md
|
||||
!Tor.md
|
||||
!Trusted.md
|
||||
!Tutorials.md
|
13
docs/template.html
Normal file
13
docs/template.html
Normal file
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{{title}}}</title>
|
||||
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
||||
<style>
|
||||
{{{style}}}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
{{{content}}}
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user