CI/CD
Homepage / publish (push) Successful in 12s Details

This commit is contained in:
Neale Pickett 2023-10-27 21:39:32 -07:00
parent 7f2ef4cd2d
commit 5d3df92c06
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
name: Homepage name: Homepage
on: [push] on: [push]
jobs: jobs:
build: publish:
runs-on: runs-on:
- hugo - hugo
timeout-minutes: 1 timeout-minutes: 1
@ -15,10 +15,8 @@ jobs:
umask 077; cat > $HOME/.ssh/id_rsa <<EOD umask 077; cat > $HOME/.ssh/id_rsa <<EOD
${{ secrets.SSH_PUBLISH_PRIVATE_KEY }} ${{ secrets.SSH_PUBLISH_PRIVATE_KEY }}
EOD EOD
ls -l $HOME/.ssh
md5sum $HOME/.ssh/* md5sum $HOME/.ssh/*
- name: Clone git repository - run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
- run: hugo - run: hugo
- name: Install built site - name: Install built site
run: | run: |