Compare commits
11 Commits
5b9d70db22
...
c165c03579
| Author | SHA1 | Date | |
|---|---|---|---|
| c165c03579 | |||
| badf0dde7a | |||
| b1f25ebcc3 | |||
| 01c8640d38 | |||
| f511599273 | |||
| bac4c56485 | |||
| e1a6e4f21f | |||
| 2f1102bebc | |||
| f24bf52136 | |||
| 0f98959d37 | |||
| e99f44d8ad |
@@ -3,7 +3,6 @@ run-name: ${{ gitea.actor }}
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- pre-prod
|
||||
pull_request:
|
||||
|
||||
|
||||
@@ -2,14 +2,13 @@ name: Deploy to production
|
||||
run-name: deploy-${{ gitea.actor }}
|
||||
|
||||
on:
|
||||
merge:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
needs: tests # require tests to pass
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -24,7 +23,7 @@ jobs:
|
||||
- name: Deploy
|
||||
run: |
|
||||
ssh -i ~/.ssh/id_rsa ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} << 'EOF'
|
||||
cd /path/to/Quatsh-Website
|
||||
cd ~/Quatsh-Website
|
||||
|
||||
echo "Pulling latest code..."
|
||||
git pull origin main
|
||||
|
||||
Reference in New Issue
Block a user