-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: disable action as it will need a rework * refactor: change SSG to Zola * ci: set up action for Zola
- Loading branch information
Showing
37 changed files
with
422 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: 🚀 Build and deploy website on push | ||
# name: 🚀 Build and deploy website on push | ||
on: | ||
push: | ||
branches: | ||
|
@@ -10,31 +10,19 @@ jobs: | |
steps: | ||
- name: 🚚 Get latest code | ||
uses: actions/checkout@v2 | ||
- name: 📦 Use cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: vendor/bundle | ||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }} | ||
restore-keys: | | ||
${{ runner.os }}-gems- | ||
- name: 🔧 Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: 🛠️ Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
- name: 🛠️ Setup Zola | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
ruby-version: '3.0' | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
tool: [email protected] | ||
- name: 🏗️ Build website with Jekyll | ||
run: JEKYLL_ENV=production bundle exec jekyll build | ||
run: zola build | ||
- name: 📂 Sync files | ||
uses: SamKirkland/[email protected] | ||
with: | ||
server: ${{ secrets.FTP_WEB_SERVER }} | ||
username: ${{ secrets.FTP_USER_NAME }} | ||
password: ${{ secrets.FTP_PASSWORD }} | ||
local-dir: ./_site/ | ||
local-dir: ./public/ | ||
server-dir: /www/weryskok.ru/ | ||
exclude: | | ||
**/.git* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
# Ignore metadata generated by Jekyll | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
|
||
# Ignore folders generated by Bundler | ||
.bundle/ | ||
vendor/ | ||
# Ignore folder generated by Zola | ||
public/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# The URL the site will be built for | ||
base_url = "https://weryskok.ru" | ||
|
||
# Whether to automatically compile all Sass files in the sass directory | ||
compile_sass = false | ||
|
||
# Whether to build a search index to be used later on by a JavaScript library | ||
build_search_index = false | ||
|
||
default_language = "ru" | ||
|
||
[markdown] | ||
# Whether to do syntax highlighting | ||
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola | ||
highlight_code = false | ||
|
||
[languages.en] | ||
|
||
[extra] | ||
# Put all your custom variables here | ||
navigation = [{ name = "Блог", link = "https://blog.weryskok.ru" }] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
+++ | ||
title = "lol" | ||
+++ | ||
lol |
Oops, something went wrong.