Update Makefil
This commit is contained in:
parent
47672ee10f
commit
66e1b1cd94
4 changed files with 11 additions and 12 deletions
4
.github/workflows/lektor-check.yml
vendored
4
.github/workflows/lektor-check.yml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
sudo apt-get install git-lfs
|
sudo apt-get install git-lfs
|
||||||
git lfs pull
|
git lfs pull
|
||||||
- name: install lektor
|
- name: install lektor
|
||||||
run: pip install lektor
|
run: make install
|
||||||
- name: build with lektor
|
- name: build with lektor
|
||||||
run: |
|
run: |
|
||||||
lektor build -f scss
|
make build
|
||||||
|
|
4
.github/workflows/lektor-deploy.yml
vendored
4
.github/workflows/lektor-deploy.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
||||||
- name: install git-lfs && lektor
|
- name: install git-lfs && lektor
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install git-lfs
|
sudo apt-get install git-lfs
|
||||||
pip install lektor
|
make install
|
||||||
- name: Cache lektor .cache
|
- name: Cache lektor .cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
|
@ -44,7 +44,7 @@ jobs:
|
||||||
run: git lfs pull
|
run: git lfs pull
|
||||||
- name: build with lektor
|
- name: build with lektor
|
||||||
run: |
|
run: |
|
||||||
lektor build -f scss
|
make build
|
||||||
- name: deploy new site
|
- name: deploy new site
|
||||||
run: |
|
run: |
|
||||||
echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' | sudo tee /etc/ssh/ssh_known_hosts
|
echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' | sudo tee /etc/ssh/ssh_known_hosts
|
||||||
|
|
13
.travis.yml
13
.travis.yml
|
@ -6,13 +6,14 @@ cache:
|
||||||
directories:
|
directories:
|
||||||
- $HOME/.cache/pip
|
- $HOME/.cache/pip
|
||||||
- .git/lfs
|
- .git/lfs
|
||||||
|
- $HOME/.cache/lektor
|
||||||
before_install:
|
before_install:
|
||||||
- git lfs pull
|
- git lfs pull
|
||||||
install:
|
install:
|
||||||
- "pip install Lektor"
|
- make install
|
||||||
|
script:
|
||||||
- make build
|
- make build
|
||||||
script: "lektor build"
|
# before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts"
|
||||||
before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts"
|
# deploy:
|
||||||
deploy:
|
# provider: script
|
||||||
provider: script
|
# script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"
|
||||||
script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"
|
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -21,8 +21,6 @@ install:
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
lektor clean --yes
|
|
||||||
lektor plugin flush-cache
|
|
||||||
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS)
|
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS)
|
||||||
|
|
||||||
server:
|
server:
|
||||||
|
|
Loading…
Reference in a new issue