-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8e2a17c
commit 6627bb1
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
- name: Setup environment | ||
run: | | ||
set -ex | ||
|
@@ -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 "[email protected]" | ||
- name: Deploy to xwp/stream-dist | ||
run: | | ||
ls -al | ||
|