This commit is contained in:
parent
8addf09ee0
commit
224b4fb27b
1 changed files with 2 additions and 7 deletions
|
@ -4,22 +4,17 @@ on: [push]
|
|||
jobs:
|
||||
deploy:
|
||||
name: Deploy Website
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Set up SSH key
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "${{ secrets.DEPLOY_PRIVATE_KEY }}" > ~/.ssh/id_rsa
|
||||
chmod 600 ~/.ssh/id_rsa
|
||||
ping code.ryne.moe
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
with:
|
||||
hugo-version: '0.145.0'
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
|
Loading…
Add table
Reference in a new issue