Skip to content

Commit

Permalink
Update daily.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
teolemon authored Aug 16, 2023
1 parent c3ea7c1 commit 8da71e2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Daily tasks (cronjobs)"
name: "🕰️ Daily tasks (cronjobs)"

on:
schedule:
Expand Down Expand Up @@ -36,15 +36,15 @@ jobs:
environment: ${{ matrix.env }}
concurrency: ${{ matrix.env }}
steps:
- name: Set various variable for staging (net) deployment
- name: Set various variables for staging (.net) deployment
if: matrix.env == 'mongo-dev'
run: |
# deploy target
echo "SSH_HOST=10.1.0.200" >> $GITHUB_ENV
echo "SSH_PROXY_HOST=ovh1.openfoodfacts.org" >> $GITHUB_ENV
echo "SSH_USERNAME=off" >> $GITHUB_ENV
- name: Sync prod db data to dev MongoDB
- name: Sync production database data to the dev MongoDB
uses: appleboy/ssh-action@master
with:
host: ${{ env.SSH_HOST }}
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
concurrency: ${{ matrix.env }}
needs: dev-db-sync
steps:
- name: Set various variable for staging (net) deployment
- name: Set various variables for the staging (.net) deployment
if: matrix.env == 'mongo-dev'
run: |
# deploy target
Expand All @@ -98,4 +98,4 @@ jobs:
script: |
cd ${{ matrix.env }}
make refresh_product_tags
make restart_db
make restart_db

0 comments on commit 8da71e2

Please sign in to comment.