Files
start/.gitea/workflows/deploy.yaml
Daniel Cortés faaea4b1d2
Some checks failed
CD for startPage / build (push) Successful in 9s
CD for startPage / deploy (push) Failing after 8s
tengo rsync?
2023-07-01 01:31:56 -04:00

32 lines
677 B
YAML

name: CD for startPage
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run build step
run: ./build.sh
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run build step
run: ./build.sh
- name: Configure Server
run: |
echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
rsync -h
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
ls -al /
'