Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…text into change-alt-image
  • Loading branch information
dickyindra committed Dec 20, 2021
2 parents f9dd003 + 5cffca6 commit daaec9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-demo-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ jobs:
eval `ssh-agent -s`
ssh-add - <<< "$SSH_PRIVATE_KEY"
echo Creating dokku app ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}
ssh dokku@$DOKKU_HOST -C "dokku apps:create ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}" | true
ssh dokku@$DOKKU_HOST -C "apps:create ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}" | true
echo The url will be ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}.dickyindra.com
ssh dokku@$DOKKU_HOST -C "dokku git:initialize ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}"
ssh dokku@$DOKKU_HOST -C "dokku git:set ${{ github.event.pull_request.user.login }}-${{ github.head_ref }} deploy-branch ${{ github.head_ref }}"
ssh dokku@$DOKKU_HOST -C "git:initialize ${{ github.event.pull_request.user.login }}-${{ github.head_ref }}"
ssh dokku@$DOKKU_HOST -C "git:set ${{ github.event.pull_request.user.login }}-${{ github.head_ref }} deploy-branch ${{ github.head_ref }}"
- uses: actions/checkout@v2
with:
fetch-depth: 0
Expand Down

0 comments on commit daaec9d

Please sign in to comment.