diff --git a/.github/workflows/deploy-cloudrun.yaml b/.github/workflows/deploy-cloudrun.yaml index 734a3568..d2dc41ec 100644 --- a/.github/workflows/deploy-cloudrun.yaml +++ b/.github/workflows/deploy-cloudrun.yaml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v3 - run: git config --global --add safe.directory /__w/peskas.timor.portal/peskas.timor.portal - name: Update data @@ -30,7 +30,7 @@ jobs: Rscript -e 'source("data-raw/generate_translation_pars.R")' - name: Commit changes package data - uses: stefanzweifel/git-auto-commit-action@v5 + uses: stefanzweifel/git-auto-commit-action@v4 with: file_pattern: data/* @@ -46,10 +46,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v3 - name: Setup Cloud SDK - uses: google-github-actions/setup-gcloud@v2 + uses: google-github-actions/setup-gcloud@v0.6.1 with: project_id: ${{ env.PROJECT_ID }} service_account_key: ${{ secrets.GCP_SA_KEY }} @@ -65,7 +65,7 @@ jobs: - name: Deploy to Cloud Run id: deploy - uses: google-github-actions/deploy-cloudrun@v2 + uses: google-github-actions/deploy-cloudrun@v0.10.3 with: service: ${{ env.SERVICE }} image: ${{ env.CONTAINER_REGISTRY }}/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:${{ github.sha }}