Skip to content

Commit 6bb60a6

Browse files
author
GitHubRunner
committed
All history was squashed
0 parents  commit 6bb60a6

File tree

1,311 files changed

+66579
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,311 files changed

+66579
-0
lines changed

.bundle/config

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
BUNDLE_PATH: "vendor/bundle"
3+
BUNDLE_SET: "path vendorbundle"

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 4
8+
end_of_line = lf
9+
max_line_length = 160
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
insert_final_newline = true

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.md eol=lf
2+
*.yml eol=lf

.github/CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @allegro/techblog

.github/workflows/allegro.tech.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Update allegro.tech
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
dispatch:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Repository Dispatch
12+
uses: peter-evans/repository-dispatch@v3
13+
with:
14+
token: ${{ secrets.REPO_TOKEN }}
15+
repository: allegro/allegro.tech
16+
event-type: blog-update

.github/workflows/gh-pages.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy to gh-pages
2+
on:
3+
push:
4+
branches: ["main"]
5+
workflow_dispatch:
6+
permissions:
7+
contents: read
8+
pages: write
9+
id-token: write
10+
concurrency:
11+
group: "pages"
12+
cancel-in-progress: false
13+
jobs:
14+
build:
15+
if: ${{ github.repository_owner != 'allegro-internal' }}
16+
runs-on: ubuntu-latest
17+
env:
18+
JEKYLL_ENV: production
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: actions/configure-pages@v5
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: '3.1'
25+
bundler-cache: true
26+
- run: gem update --system
27+
- uses: actions/setup-node@v4
28+
with:
29+
node-version: '21'
30+
- run: npm install
31+
- run: bundle install
32+
- run: bundle exec jekyll build
33+
- uses: actions/upload-pages-artifact@v3
34+
deploy:
35+
environment:
36+
name: github-pages
37+
url: ${{ steps.deployment.outputs.page_url }}
38+
runs-on: ubuntu-latest
39+
needs: build
40+
steps:
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

.github/workflows/public-push.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Push to public fork
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
jobs:
8+
publish:
9+
if: ${{ github.repository_owner != 'allegro' }}
10+
runs-on: [ubuntu-latest, self-hosted]
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
persist-credentials: false
16+
17+
- name: rebase public fork
18+
run: |
19+
# Squash all history in order to remove any sensitive data in pre-code-review versions
20+
git checkout --orphan new-main main &&
21+
git commit -m "All history was squashed" &&
22+
git branch -M new-main main &&
23+
git push "https://[email protected]/allegro/blog.git" main -f
24+
env:
25+
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor
6+
node_modules

.markdownlint.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"default": true,
3+
"MD013": {
4+
"line_length": 160,
5+
"tables": false
6+
},
7+
"MD022": false,
8+
"MD026": false,
9+
"MD032": false,
10+
"MD033": false,
11+
"MD036": false,
12+
"MD040": false
13+
}

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.6.10

404.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

0 commit comments

Comments
 (0)