@sigitcode / nord / commits / d77b09a

remove workflow for now

Seto Elkahfi committed Jun 7, 2025 at 20:47 UTC d77b09ac3d45bd4397ea6a93cd901b6d0abfc6ee
1 file changed -51
.github/workflows/deploy.yml deleted
-51
@@ -1,51 +0,0 @@
1 -name: "Deploy Project"
2 -
3 -on:
4 - push:
5 - branches:
6 - - main
7 -env:
8 - GIT_USER: ${{ secrets.GIT_USER_SMB }}
9 - GIT_HOST: ${{ secrets.GIT_HOST_SMB }}
10 - SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY_SMB }}
11 - SSH_KNOWN_HOST: ${{ secrets.SSH_KNOWN_HOST_SMB }}
12 -
13 -jobs:
14 - build:
15 - runs-on: ubuntu-latest
16 - steps:
17 - - name: Checkout
18 - uses: actions/checkout@v4
19 - with:
20 - lfs: true
21 - - name: Setup Node
22 - uses: actions/setup-node@v4
23 - with:
24 - node-version-file: .nvmrc
25 - - name: Install pnpm
26 - uses: pnpm/action-setup@v4
27 - with:
28 - version: 9
29 - - name: Build for production
30 - run: |
31 - pnpm install --ignore-scripts
32 - pnpm run build
33 - - name: Install SSH key
34 - uses: shimataro/ssh-key-action@v2
35 - with:
36 - key: ${{ env.SSH_PRIVATE_KEY }}
37 - known_hosts: ${{ env.SSH_KNOWN_HOST }}
38 - - name: Upload build
39 - run: |
40 - rsync -a node_modules ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
41 - rsync -a .next ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
42 - rsync -a public ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
43 - rsync next.config.mjs ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
44 - rsync package.json ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
45 - rsync pnpm-lock.yaml ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
46 - rsync .nvmrc ${{ env.GIT_USER }}@${{ env.GIT_HOST }}:apps/ssr/hagerstenstreetcut/
47 - shell: bash
48 - - name: Deploy!
49 - run: |
50 - ssh ${{ env.GIT_USER }}@${{ env.GIT_HOST }} 'bash -s' < .smb/deploy.sh apps/ssr/hagerstenstreetcut
51 - shell: bash