Skip to content

Commit

Permalink
Move SSH related steps down
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinkrzeminski committed Sep 20, 2024
1 parent 8e2a17c commit 6627bb1
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/deploy-to-stream-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup SSH deploy key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_DEPLOY_KEY }}
known_hosts: github.com

- name: Configure Git
run: |
git config --global user.name "XWP Deploy Bot"
git config --global user.email "technology@xwp.co"
- name: Setup environment
run: |
set -ex
Expand Down Expand Up @@ -58,6 +47,17 @@ jobs:
SRC_DIR: ${{ env.SRC_DIR }}
DIST_DIR: ${{ env.DIST_DIR }}

- name: Setup SSH deploy key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_DEPLOY_KEY }}
known_hosts: github.com

- name: Configure Git
run: |
git config --global user.name "XWP Deploy Bot"
git config --global user.email "technology@xwp.co"
- name: Deploy to xwp/stream-dist
run: |
ls -al
Expand Down

0 comments on commit 6627bb1

Please sign in to comment.