Skip to content

Commit

Permalink
Merge pull request #45 from Scille/touilleMan-patch-3
Browse files Browse the repository at this point in the history
Update ci.yml
  • Loading branch information
touilleMan authored Sep 24, 2024
2 parents b3ef7f4 + e949a73 commit 4d45892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
# /!\ Don't add `set -eux` here to avoid leaking secrets in the logs !
# Used to be needed in when we used Codeship CI, but let's keep it just in case...
# IN2P3_IP=`curl 'https://toolbox.googleapps.com/apps/dig/lookup?domain=cca7.lbd.in2p3.fr&type=A&nameserver=' | tr '\n' ' ' | sed -r 's/.* ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'`
# IN2P3_IP=`curl 'https://toolbox.googleapps.com/apps/dig/lookup?domain=cca9.lbd.in2p3.fr&type=A&nameserver=' | tr '\n' ' ' | sed -r 's/.* ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}).*/\1/'`
# echo "found in2p3 IP to be $IN2P3_IP"
# cleaning the dir before rsync
Expand All @@ -86,6 +86,6 @@ jobs:
--verbose --archive --compress --delete --delete-after \
--exclude="__pycache__" --exclude=".git" \
. \
${{ vars.IN2P3_SSH_LOGIN }}@cca7.in2p3.fr:'$HOME/${{ vars.DEPLOY_DIR }}/vigiechiro-api'
${{ vars.IN2P3_SSH_LOGIN }}@cca9.in2p3.fr:'$HOME/${{ vars.DEPLOY_DIR }}/vigiechiro-api'
env:
IN2P3_SSH_PASSWORD: ${{ secrets.IN2P3_SSH_PASSWORD }}

0 comments on commit 4d45892

Please sign in to comment.