-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move ssh-related code to deployment workflow
- Loading branch information
1 parent
8a1c8e1
commit caa4887
Showing
2 changed files
with
10 additions
and
41 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 |
---|---|---|
|
@@ -41,33 +41,12 @@ jobs: | |
message: 'CI Package Deployment' | ||
add: '*.art' | ||
|
||
# jobs: | ||
# build: | ||
# name: "Deploy Packages" | ||
# runs-on: ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: | ||
# - ubuntu-latest | ||
# version: | ||
# - full | ||
# steps: | ||
# - name: "Cancel similar actions in progress" | ||
# uses: styfle/[email protected] | ||
# with: | ||
# access_token: ${{ github.token }} | ||
|
||
# - name: "Setup Arturo" | ||
# uses: arturo-lang/arturo-action@main | ||
|
||
# - name: "Checkout" | ||
# uses: actions/checkout@main | ||
# with: | ||
# submodules: recursive | ||
|
||
# - name: Run unit tests | ||
# run: | | ||
# echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||
# arturo tools/ci.art | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Update registry | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
key: ${{ secrets.SSH_KEY }} | ||
script: | | ||
cd /var/www/pkgr.art | ||
git pull |
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 |
---|---|---|
|
@@ -31,14 +31,4 @@ jobs: | |
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||
arturo tools/ci.art | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: SSH | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.SSH_HOST }} | ||
username: ${{ secrets.SSH_USER }} | ||
key: ${{ secrets.SSH_KEY }} | ||
script: | | ||
whoami | ||
ls -al | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |