jcarnero commited on
Commit
0f43701
·
1 Parent(s): 88e4ab1

Updated deployment

Browse files
Files changed (1) hide show
  1. .github/workflows/gradio.yml +2 -2
.github/workflows/gradio.yml CHANGED
@@ -21,7 +21,7 @@ jobs:
21
  - name: Checkout code
22
  uses: actions/checkout@v3
23
  with:
24
- token: ${{ secrets.PUSH_PAT_TOKEN }}
25
  ref: main
26
  lfs: true
27
 
@@ -49,5 +49,5 @@ jobs:
49
  git config --global user.email "javier@carnero.net"
50
  git config --global user.name "Javier Carnero"
51
  git add -A .
52
- git diff-index --quiet gradio || git commit -m "Copy deployment files to gradio branch"
53
  git push origin gradio
 
21
  - name: Checkout code
22
  uses: actions/checkout@v3
23
  with:
24
+ token: ${{ secrets.PUSH_PAT_TOKEN }} # this is necessary to trigger further workflows by push
25
  ref: main
26
  lfs: true
27
 
 
49
  git config --global user.email "javier@carnero.net"
50
  git config --global user.name "Javier Carnero"
51
  git add -A .
52
+ git diff-index --quiet gradio || git commit -m "Updated deployment"
53
  git push origin gradio