Skip to content

Commit

Permalink
Update official-site.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa authored Jul 22, 2023
1 parent f8fd88e commit c599d9b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/official-site.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
---
name: 'deploy website'

# yamllint disable-line rule:truthy
on:
push:
branches:
Expand All @@ -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'
git_push_flags: '--force'

0 comments on commit c599d9b

Please sign in to comment.