Outducks sync #65
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Outducks sync" | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| ducksmanager-daily: | |
| runs-on: ubuntu-latest | |
| environment: production | |
| env: | |
| REMOTE_ROOT: apps/dm | |
| PRODUCTION_SSH_HOST: ${{ secrets.PRODUCTION_SSH_HOST }} | |
| PRODUCTION_SSH_USER: ${{ secrets.PRODUCTION_SSH_USER }} | |
| PRODUCTION_SSH_KEY: ${{ secrets.PRODUCTION_SSH_KEY }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| lfs: false | |
| - name: Install pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 9.8.0 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: "pnpm" | |
| - name: Install dependencies | |
| run: | | |
| pnpm -r i | |
| - name: Run outducks-sync | |
| timeout-minutes: 5 | |
| run: | | |
| pnpm -r -F '~outducks' prod:docker-compose-run |