diff --git a/.github/workflows/official-site.yml b/.github/workflows/official-site.yml index 41d8fce6..b2d3a7eb 100644 --- a/.github/workflows/official-site.yml +++ b/.github/workflows/official-site.yml @@ -1,7 +1,5 @@ ---- name: 'deploy website' -# yamllint disable-line rule:truthy on: push: branches: @@ -16,14 +14,14 @@ jobs: with: fetch-depth: 0 - run: | - cp examples/official-site /tmp/ - rm -rf * - cp /tmp/official-site/* . - git commit -am "site update $(date)" + cp examples/official-site /tmp/ + rm -rf * + cp /tmp/official-site/* . + git commit -am "site update $(date)" - name: Push to dokku uses: dokku/github-action@master with: git_remote_url: 'ssh://dokku@[${{ secrets.DEPLOY_IP }}]:22/sqlpage' ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} - git_push_flags: '--force' \ No newline at end of file + git_push_flags: '--force'