CI/CD
This commit is contained in:
parent
78dbf8228d
commit
12a6398193
|
@ -6,8 +6,6 @@ jobs:
|
||||||
- hugo
|
- hugo
|
||||||
timeout-minutes: 1
|
timeout-minutes: 1
|
||||||
steps:
|
steps:
|
||||||
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
||||||
- run: hugo
|
|
||||||
- name: Set up SSH
|
- name: Set up SSH
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
|
@ -19,6 +17,9 @@ jobs:
|
||||||
EOD
|
EOD
|
||||||
ls -l $HOME/.ssh
|
ls -l $HOME/.ssh
|
||||||
md5sum $HOME/.ssh/*
|
md5sum $HOME/.ssh/*
|
||||||
|
- name: Clone git repository
|
||||||
|
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||||
|
- run: hugo
|
||||||
- name: Install built site
|
- name: Install built site
|
||||||
run: |
|
run: |
|
||||||
eval $(ssh-agent)
|
eval $(ssh-agent)
|
||||||
|
|
Loading…
Reference in New Issue