mirror of
https://github.com/WerySkok/weryskok.ru.git
synced 2025-04-26 04:28:56 +03:00
ci: disable action as it will need a rework
This commit is contained in:
parent
f8542553ec
commit
efa30b3c34
1 changed files with 43 additions and 43 deletions
86
.github/workflows/build_and_deploy.yml
vendored
86
.github/workflows/build_and_deploy.yml
vendored
|
@ -1,43 +1,43 @@
|
||||||
name: 🚀 Build and deploy website on push
|
# name: 🚀 Build and deploy website on push
|
||||||
on:
|
# on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- main
|
# - main
|
||||||
jobs:
|
# jobs:
|
||||||
web-deploy:
|
# web-deploy:
|
||||||
name: 🎉 Deploy
|
# name: 🎉 Deploy
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: 🚚 Get latest code
|
# - name: 🚚 Get latest code
|
||||||
uses: actions/checkout@v2
|
# uses: actions/checkout@v2
|
||||||
- name: 📦 Use cache
|
# - name: 📦 Use cache
|
||||||
uses: actions/cache@v2
|
# uses: actions/cache@v2
|
||||||
with:
|
# with:
|
||||||
path: vendor/bundle
|
# path: vendor/bundle
|
||||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
|
# key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-gems-
|
# ${{ runner.os }}-gems-
|
||||||
- name: 🔧 Setup Node.js
|
# - name: 🔧 Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
# uses: actions/setup-node@v3
|
||||||
with:
|
# with:
|
||||||
node-version: 16
|
# node-version: 16
|
||||||
- name: 🛠️ Setup Ruby
|
# - name: 🛠️ Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
# uses: ruby/setup-ruby@v1
|
||||||
with:
|
# with:
|
||||||
ruby-version: '3.0'
|
# ruby-version: '3.0'
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
# bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
- name: 🏗️ Build website with Jekyll
|
# - name: 🏗️ Build website with Jekyll
|
||||||
run: JEKYLL_ENV=production bundle exec jekyll build
|
# run: JEKYLL_ENV=production bundle exec jekyll build
|
||||||
- name: 📂 Sync files
|
# - name: 📂 Sync files
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.3.0
|
# uses: SamKirkland/FTP-Deploy-Action@4.3.0
|
||||||
with:
|
# with:
|
||||||
server: ${{ secrets.FTP_WEB_SERVER }}
|
# server: ${{ secrets.FTP_WEB_SERVER }}
|
||||||
username: ${{ secrets.FTP_USER_NAME }}
|
# username: ${{ secrets.FTP_USER_NAME }}
|
||||||
password: ${{ secrets.FTP_PASSWORD }}
|
# password: ${{ secrets.FTP_PASSWORD }}
|
||||||
local-dir: ./_site/
|
# local-dir: ./_site/
|
||||||
server-dir: /www/weryskok.ru/
|
# server-dir: /www/weryskok.ru/
|
||||||
exclude: |
|
# exclude: |
|
||||||
**/.git*
|
# **/.git*
|
||||||
**/.git*/**
|
# **/.git*/**
|
||||||
**/node_modules/**
|
# **/node_modules/**
|
||||||
**/files/**
|
# **/files/**
|
||||||
|
|
Loading…
Reference in a new issue