rearrange steps?

This commit is contained in:
2025-03-16 14:52:28 +02:00
parent 89205aa4e5
commit 2849b21d30

View File

@@ -14,19 +14,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
with:
version: 'latest'
- name: 'Use gcloud CLI'
run: 'gcloud info'
- name: Check out code
uses: actions/checkout@v4
@@ -38,5 +25,16 @@ jobs:
- name: Build
run: scripts/buildprod.sh
- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
- name: 'Use gcloud CLI'
run: 'gcloud info'
- name: Push to Google
run: gcloud builds submit --tag us-central1-docker.pkg.dev/notely-453912/notely-ar-repo/notely:latest .