Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test SSH for deployments #10

Merged
merged 3 commits into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 9 additions & 30 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading