Skip to content

Commit

Permalink
Fix the deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Nov 8, 2023
1 parent 29ff4d2 commit 63e2c41
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build_and_deploy:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
Expand All @@ -17,17 +17,16 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.101'
hugo-version: '0.101.0'
- name: Build manual
run: make build
- name: Deploy manual
uses: appleboy/scp-action@master
env:
HOST: ${{ secrets.DEPLOY_HOST }}
USERNAME: ${{ secrets.DEPLOY_USERNAME }}
PORT: ${{ secrets.DEPLOY_PORT }}
KEY: ${{ secrets.DEPLOY_KEY }}
with:
host: ${{ secrets.DEPLOY_HOST }}
username: ${{ secrets.DEPLOY_USERNAME }}
port: ${{ secrets.DEPLOY_PORT }}
key: ${{ secrets.DEPLOY_KEY }}
source: 'build/manual'
target: ${{ secrets.DEPLOY_TARGET_PATH }}/manual
rm: true
Expand Down

0 comments on commit 63e2c41

Please sign in to comment.