Switch to Ubuntu 22.04 in CI deploy
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
47017c7ab9
commit
71125c3685
13
.drone.yml
13
.drone.yml
|
@ -3,10 +3,13 @@ type: docker
|
||||||
name: deploy
|
name: deploy
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: deploy
|
- name: build
|
||||||
image: ubuntu:latest
|
image: ghcr.io/getzola/zola:v0.17.2
|
||||||
entrypoint: ["/bin/bash"]
|
entrypoint: ["/bin/zola"]
|
||||||
|
command: ["build"]
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
image: ubuntu:22.04
|
||||||
environment:
|
environment:
|
||||||
HOST:
|
HOST:
|
||||||
from_secret: host
|
from_secret: host
|
||||||
|
@ -16,11 +19,9 @@ steps:
|
||||||
from_secret: ssh_key
|
from_secret: ssh_key
|
||||||
PATH:
|
PATH:
|
||||||
from_secret: path
|
from_secret: path
|
||||||
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- echo test
|
- echo test
|
||||||
- apt-get update
|
- apt update
|
||||||
|
|
Loading…
Reference in New Issue