This commit is contained in:
@@ -9,14 +9,11 @@ jobs:
|
|||||||
build-and-push:
|
build-and-push:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code securely over SSH
|
- name: Checkout code securely via Tarball (Bypass Git/Proxy timeouts)
|
||||||
run: |
|
run: |
|
||||||
rm -rf ./* ./.git* || true
|
curl -sL https://git.digifox.live/mohanki/titan3d_react_node_sqllite/archive/master.tar.gz -o source.tar.gz
|
||||||
mkdir -p ~/.ssh
|
tar -xzf source.tar.gz --strip-components=1
|
||||||
echo "${{ secrets.DEPLOY_SSH_KEY }}" > ~/.ssh/id_ed25519
|
rm source.tar.gz
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
|
||||||
ssh-keyscan -p 2222 git.digifox.live >> ~/.ssh/known_hosts
|
|
||||||
git clone -b master "ssh://git@git.digifox.live:2222/mohanki/titan3d_react_node_sqllite.git" .
|
|
||||||
|
|
||||||
- name: Login to Gitea Container Registry
|
- name: Login to Gitea Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user