configured with my docker images

This commit is contained in:
Hamza Ahmed
2021-12-02 22:01:23 +00:00
parent d5663e49d9
commit 66d397c7b6
+2 -2
View File
@@ -3,7 +3,7 @@ stages:
- deploy - deploy
build: build:
stage: build stage: build
image: ahmza/hugo image: ghcr.io/4hmz4/docker-hugo:main
script: script:
- git submodule update --init --recursive - git submodule update --init --recursive
- hugo -d public_html -b "${BLOG_URL}" - hugo -d public_html -b "${BLOG_URL}"
@@ -17,7 +17,7 @@ build:
-master -master
deploy: deploy:
stage: deploy stage: deploy
image: ahmza/rsync-ssh image: ghcr.io/4hmz4/docker-rsync-ssh:main
script: script:
- echo "${SSH_PRIVATE_KEY}" > id_rsa - echo "${SSH_PRIVATE_KEY}" > id_rsa
- chmod 700 id_rsa - chmod 700 id_rsa