From 63e2c415c601e215c32bbda80728b61f7fab04e7 Mon Sep 17 00:00:00 2001 From: Andreas Schempp Date: Wed, 8 Nov 2023 15:12:48 +0100 Subject: [PATCH] Fix the deploy script --- .github/workflows/build_and_deploy.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_and_deploy.yaml b/.github/workflows/build_and_deploy.yaml index 424dfec..870cd24 100644 --- a/.github/workflows/build_and_deploy.yaml +++ b/.github/workflows/build_and_deploy.yaml @@ -8,7 +8,7 @@ on: jobs: build_and_deploy: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v1.0.0 @@ -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