e76a11db37
CI Test / test (push) Failing after 0s
Deploy2 / deploy (push) Successful in 0s
Deploy / deploy (push) Failing after 0s
T1 git pull step / t1 (push) Successful in 0s
T2 env check step / t2 (push) Failing after 0s
T3 docker step / t3 (push) Successful in 0s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
431 B
YAML
20 lines
431 B
YAML
name: T1 git pull step
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
env:
|
|
DEPLOY_DIR: /home/deploy/stacks/_clients/blog_report
|
|
|
|
jobs:
|
|
t1:
|
|
runs-on: deploy
|
|
steps:
|
|
- name: Pull latest code
|
|
run: |
|
|
cd "$DEPLOY_DIR"
|
|
git remote set-url origin "https://gitea-actions:${{ github.token }}@git.wandergo.net/partnership/blog_report.git"
|
|
git fetch origin main
|
|
git reset --hard origin/main
|