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
|
||||
git lfs pull
|
||||
- name: install lektor
|
||||
run: pip install lektor
|
||||
run: make install
|
||||
- name: build with lektor
|
||||
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
|
||||
run: |
|
||||
sudo apt-get install git-lfs
|
||||
pip install lektor
|
||||
make install
|
||||
- name: Cache lektor .cache
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
@ -44,7 +44,7 @@ jobs:
|
|||
run: git lfs pull
|
||||
- name: build with lektor
|
||||
run: |
|
||||
lektor build -f scss
|
||||
make build
|
||||
- name: deploy new site
|
||||
run: |
|
||||
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:
|
||||
- $HOME/.cache/pip
|
||||
- .git/lfs
|
||||
- $HOME/.cache/lektor
|
||||
before_install:
|
||||
- git lfs pull
|
||||
install:
|
||||
- "pip install Lektor"
|
||||
- make install
|
||||
script:
|
||||
- make build
|
||||
script: "lektor build"
|
||||
before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts"
|
||||
deploy:
|
||||
provider: script
|
||||
script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"
|
||||
# before_deploy: "echo 'c3woc.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBC5NslYj+wtriBuKIxJfDRm9E2hnlstWR8durQ6pKvVvP7wjcoXIyAxe41GvJ9SoEhSjF7oVlzlw+zAkzl5WOZ4=' > ~/.ssh/known_hosts"
|
||||
# deploy:
|
||||
# provider: script
|
||||
# script: "lektor deploy --key $LEKTOR_DEPLOY_KEY c3woc"
|
||||
|
|
2
Makefile
2
Makefile
|
@ -21,8 +21,6 @@ install:
|
|||
|
||||
|
||||
build:
|
||||
lektor clean --yes
|
||||
lektor plugin flush-cache
|
||||
python3 -m lektor build $(LEKTOR_PLUGIN_FLAGS)
|
||||
|
||||
server:
|
||||
|
|
Loading…
Reference in a new issue