rassulya commited on
Commit
bbf1f70
·
1 Parent(s): e14c8f1

Refactor deployment workflow to remove unnecessary comments and improve clarity

Browse files
Files changed (1) hide show
  1. .github/workflows/cd.yml +0 -5
.github/workflows/cd.yml CHANGED
@@ -13,19 +13,14 @@ jobs:
13
  deploy:
14
  if: github.event.pull_request.merged == true
15
  runs-on: ubuntu-latest
16
-
17
  steps:
18
  - name: Checkout source repo
19
- # Use the latest major version for ongoing support
20
  uses: actions/checkout@v4
21
  with:
22
  lfs: true
23
- # fetch-depth: 0 downloads the full history, fixing the "shallow update" error
24
  fetch-depth: 0
25
-
26
  - name: Push to HF Space
27
  env:
28
- # Securely map the secret to an environment variable for this step only
29
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
30
  run: |
31
  # Use the correct syntax for variables and push HEAD to main for clarity
 
13
  deploy:
14
  if: github.event.pull_request.merged == true
15
  runs-on: ubuntu-latest
 
16
  steps:
17
  - name: Checkout source repo
 
18
  uses: actions/checkout@v4
19
  with:
20
  lfs: true
 
21
  fetch-depth: 0
 
22
  - name: Push to HF Space
23
  env:
 
24
  HF_TOKEN: ${{ secrets.HF_TOKEN }}
25
  run: |
26
  # Use the correct syntax for variables and push HEAD to main for clarity