Actually use workflows correctly
All checks were successful
Deploy website to nest / deploy (push) Successful in 2s
All checks were successful
Deploy website to nest / deploy (push) Successful in 2s
This commit is contained in:
parent
b0c11dfa5d
commit
f783774c34
2 changed files with 5 additions and 12 deletions
|
@ -11,4 +11,8 @@ jobs:
|
|||
- uses: actions/checkout@v3
|
||||
- id: deploy
|
||||
run: |
|
||||
bash website-deploy-action.sh
|
||||
mkdir ~/.ssh && \
|
||||
echo ${{ secrets.DEPLOY_SSH_KEY}} | base64 -d > ~/.ssh/id_ed25519 && \
|
||||
cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \
|
||||
chmod -R go-rwx ~/.ssh && \
|
||||
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
#!/bin/bash
|
||||
# Assuming that this is a Debian container.
|
||||
# apt-get update && \
|
||||
# apt-get upgrade -y && \
|
||||
# Apparently ssh is installed, lol
|
||||
# apt install -y openssh-client && \
|
||||
mkdir ~/.ssh && \
|
||||
echo $DEPLOY_SSH_KEY | base64 -d > ~/.ssh/id_ed25519 && \
|
||||
cat nest-known-hosts-cache.txt > ~/.ssh/known_hosts && \
|
||||
chmod -R go-rwx ~/.ssh && \
|
||||
ssh -T -o UserKnownHostsFile=nest-known-hosts-cache.txt h@hackclub.app
|
Loading…
Reference in a new issue