Skip to content
Snippets Groups Projects
Commit be3fa89e authored by kwadronaut's avatar kwadronaut :speech_balloon:
Browse files

Squashed commit of the following:

commit 8746444e02d2aecb94c15bd794b78464b1c2e64c
Author: kwadronaut <kwadronaut@autistici.org>
Date:   Wed Mar 15 12:30:18 2023 +0000

    Update .gitlab-ci.yml file

commit 66d119318239f37c4bf64428e2f7516572c4319d
Author: kwadronaut <kwadronaut@autistici.org>
Date:   Wed Mar 15 11:46:00 2023 +0000

    Update .gitlab-ci.yml file

commit ba136870832d9e2d95be76735759c4631c841440
Author: kwadronaut <kwadronaut@autistici.org>
Date:   Wed Mar 15 11:45:02 2023 +0000

    Update .gitlab-ci.yml file

commit ef0228886785cfe36073be23086d344455f9a31b
Author: kwadronaut <kwadronaut@autistici.org>
Date:   Wed Mar 15 11:44:16 2023 +0000

    Update .gitlab-ci.yml file

commit 260579d005442107b6bd97830889e755ade7bffe
Author: kwadronaut <kwadronaut@autistici.org>
Date:   Mon Mar 13 17:39:31 2023 +0100

    deploy
parent ff2156ea
No related branches found
No related tags found
No related merge requests found
Pipeline #134927 failed
stages:
- build
- deploy
# The Docker image that will be used to build our website # The Docker image that will be used to build our website
# image: klakegg/hugo:alpine-ci # image: klakegg/hugo:alpine-ci
image: registry.gitlab.com/pages/hugo/hugo_extended:latest image: registry.gitlab.com/pages/hugo/hugo_extended:latest
...@@ -13,6 +17,7 @@ before_script: ...@@ -13,6 +17,7 @@ before_script:
- apt update && apt install -y git golang rsync - apt update && apt install -y git golang rsync
build: build:
stage: build
script: script:
- make - make
artifacts: artifacts:
...@@ -21,6 +26,7 @@ build: ...@@ -21,6 +26,7 @@ build:
# weird gitlab doesn't want to use `pages` # weird gitlab doesn't want to use `pages`
deploy: deploy:
stage: deploy
dependencies: dependencies:
- build - build
before_script: before_script:
...@@ -29,7 +35,6 @@ deploy: ...@@ -29,7 +35,6 @@ deploy:
- mkdir ~/.ssh/ && echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts - mkdir ~/.ssh/ && echo "$SSH_HOST_KEY" > ~/.ssh/known_hosts
script: script:
- make - make
#- /usr/bin/rsync -av public docs@docs.leap.se:/home/docs/
- rsync -a --info=PROGRESS2 --stats public docs@docs.leap.se:~/ - rsync -a --info=PROGRESS2 --stats public docs@docs.leap.se:~/
# only in the main branch we deploy # only in the main branch we deploy
rules: rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment